You are not logged in.

#1 2019-07-06 18:02:13

massendefekt
Member
Registered: 2019-07-06
Posts: 1

Libvirt: /usr/share/qemu/OVMF.fd does not exist

Solution

A user in another forum pointed me towards the documentation of the distro that I'm using as a guest (Clear Linux). I was able to get the OVMF.fd from there.

Original Post

Hey everyone

I'm trying to spin up a vm using qemu and libvirt. However, the vm is unable as

 /usr/share/qemu/OVMF.fd 

does not exist. I have also not been able to find any potentially missing package containing OVMF.fd.

The libvirt, qemu and ovmf packages are all on the newest version available via pacman.

 /usr/share/ovmf/x64 

contains the expected OVMF_CODE.fd and OVMF_VARS.fd which are referenced in

 /etc/libvirt/qemu.conf 

as stated here on the .

Am I missing anything?

Thanks in advance for any help! smile

Last edited by massendefekt (2019-07-06 18:20:28)

Offline

#2 2019-07-07 00:06:03

chr0mag
Member
From: Vancouver, Canada
Registered: 2017-02-02
Posts: 94

Re: Libvirt: /usr/share/qemu/OVMF.fd does not exist

Was the VM created on a different distro? The paths to OVMF files are set in the libvirt XML definition file (located at  /etc/libvirt/qemu/<vm-name>.xml on Arch).

It might make more sense to update this XML definition to point to the OVMF paths of the Arch package so that you benefit from package updates. I suppose its possible that Clear Linux have made distro-specific changes to their OVMF that are needed to run it as a guest, but if not using the Arch package's files seems more sustainable.

Offline

Board footer

Powered by FluxBB