Comment # 5 on bug 989462 from
Hi James, sorry I'm slow getting back to you. Thank you for your response. I've
tried what you suggested, and the answer is that type='pflash' will generate on
the qemu command line:

>   -drive file=/usr/share/AAVMF/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on

While type='rom' will generate:
> -bios /usr/share/AAVMF/AAVMF_CODE.fd

If you look at Linaro's UEFI for QEMU page[1], it says to use -bios on ARM, at
least for the images they generate and post on their site.

I feel like the libvirt documentation that says to use 'pflash' for UEFI and
'rom' for BIOS images might be x86-centric.

Alan.

[1]https://wiki.linaro.org/LEG/UEFIforQEMU


You are receiving this mail because: