I have a Windows 11 VM I have used for a while in KVM/QEMU. I tried to fire it up today after a while and it won’t load because the usr/share/edk2/ovmf-4m directory is missing. I was loading the UEFI secure boot firmware from /usr/share/edk2/ovmf-4m/OVMF_CODE.secboot.fd. I had updated the VM to the 4M version of the firmware a while back when I ran into this issue: Can't install KB5012170 in ed2k-ovmf in Qemu · tianocore/edk2 · Discussion #3221 · GitHub. I don’t know if the directory got removed when I upgraded to F39 or if maybe SELinux didn’t like it or something else.
I thought maybe Fedora just changed it so all the images are 4M now, but before trying that I wanted to ask here. There are some images with 4M, but I don’t see a *.fd with 4M in the name:
/usr/share/edk2/ovmf$ ls
DBXUpdate-20230509.x64.bin OVMF_CODE_4M.secboot.pcr OVMF_CODE.secboot.pcr OVMF_VARS.fd
EnrollDefaultKeys.efi OVMF_CODE_4M.secboot.qcow2 OVMF.inteltdx.fd OVMF_VARS.secboot.fd
MICROVM.fd OVMF_CODE.cc.fd OVMF.inteltdx.secboot.fd Shell.efi
OVMF.amdsev.fd OVMF_CODE.fd OVMF_VARS_4M.qcow2 UefiShell.iso
OVMF_CODE_4M.qcow2 OVMF_CODE.secboot.fd OVMF_VARS_4M.secboot.qcow2
Can you tell me what I need to do to find the 4M *.fd image?
Thanks.