distribution icon indicating copy to clipboard operation
distribution copied to clipboard

OVMF.fd not showing as an option in virt-manager

Open puneetse opened this issue 5 years ago • 4 comments

A user on the forum reports that the /usr/share/qemu/OVMF.fd file is not showing as a Firmware option in virt-manager when creating a VM. I am seeing the same thing.

https://community.clearlinux.org/t/virtual-machine-manager-does-not-show-uefi-options/4531?u=puneetse

The documentation on the website for using virt-manager currently recommends this file (step 6 of this section): https://docs.01.org/clearlinux/latest/get-started/virtual-machine-install/virt-manager.html#create-a-new-virt-manager-virtual-machine

puneetse avatar May 11 '20 16:05 puneetse

Does the new virt-manager perpaps require the split up files? Can we strace to see what paths/files it is looking for?

ahkok avatar May 11 '20 21:05 ahkok

I got a Windows 10 VM to boot in UEFI mode by specifying the below on my VM's XML config file: <loader type="rom">/usr/share/qemu/OVMF.fd</loader> (the OVMF.fd file was already included within my clear-33060-live-desktop.iso install)

amatesi avatar May 12 '20 14:05 amatesi

It looks like these are the paths being searched: https://github.com/virt-manager/virt-manager/blob/master/virtinst/domcapabilities.py#L178 which still includes OVMF.fd.

and being matched against the XML: https://github.com/virt-manager/virt-manager/blob/master/virtinst/domcapabilities.py#L202

Am I reading the return right that it's hitting the first pattern and not evaluating the rest? (implication being it worked in the past because we hit the catch all and no longer after edk2 was added)

puneetse avatar May 12 '20 16:05 puneetse

Still having the same issue to date.

The dropdown is tiny and seemingly only list BIOS as an option. I need UEFI :( How to proceed?

githubDiversity avatar Feb 09 '25 07:02 githubDiversity