EFI
UseTo OVMFuse OVMF/AAVMF for EFI add these parameters to qemu-system-*
. Normally you can find OVMF_CODE.fd
and OVMF_VARS.fd
(or variants of them) in /usr/share
-drive if=pflash,format=raw,readonly,file=OVMF_CODE-pure-efi.fd
-drive if=pflash,format=raw,file=OVMF_VARS-pure-efi.OVMF_VARS.fd