This is my long-time-ago notes on how to create UEFI-based VM with QEMU. https://raw.githubusercontent.com/finallyjustice/sample/master/kvm/uefi_ol7.txt
To play with arm64, the below blog mentioned that AAVMF is required. https://blogs.oracle.com/linux/post/oracle-linux-9-with-qemu-on-an-m1-mac Dongli Zhang On 7/8/24 9:07 AM, Frantisek Rysanek wrote: > Hello Steve, > > I have a faint recollection that, when I compiled QEMU from source, > there was a choice of the BIOS / UEFI ROM image to load, as a runtime > option... somehow I was supposed to provide a path to the images, if > I wanted to change the default, which is SeaBIOS (legacy BIOS > services). > > This might be a good pointer to start from: > https://urldefense.com/v3/__https://medium.com/@tunacici7/qemu-eli5-part-6-uefi-bios-ovmf-7919facf__;!!ACWV5N9M2RV99hQ!JSu_B-bERpPV6Meg3yaMuzJffNKadkj2im976BpmYDQRzri-mQB_r_KvRqpVY45PIVDthEzsYHXEhkz_RgV7Vcd4LEoKcTs$ > > 7e31 > > At least that's what Google has divulged upon my first query. > There were other hits, see for yourself if you want: > https://urldefense.com/v3/__https://www.google.com/search?q=QEMU*load*UEFI*BIOS*image__;KysrKw!!ACWV5N9M2RV99hQ!JSu_B-bERpPV6Meg3yaMuzJffNKadkj2im976BpmYDQRzri-mQB_r_KvRqpVY45PIVDthEzsYHXEhkz_RgV7Vcd4xI9JO8k$ > > > Good luck :-) > > Frank > >> Hi all, >> >> I didn't specify a motherboard, chipset or CPU for my qemu VM guest. >> The result worked only with the old BIOS boot system, and not with >> UEFI. Although I personally prefer the old BIOS system, for the >> particular demonstration I'm giving I need UEFI. How do I specify UEFI >> in my Qemu commands? >> >> Thanks, >> >> SteveT >> >> Steve Litt >> https://urldefense.com/v3/__http://444domains.com__;!!ACWV5N9M2RV99hQ!JSu_B-bERpPV6Meg3yaMuzJffNKadkj2im976BpmYDQRzri-mQB_r_KvRqpVY45PIVDthEzsYHXEhkz_RgV7Vcd48kLXpVg$ >> >> > > >