On 13.06.2025 04:50, Miao Wang wrote:
On Wed, 04 Jun 2025 12:22:13 +0200 Laurent Vallar <v...@zbla.net> wrote:
...
Hi, thanks for reporting this. If I understand your script correct, the script attempts to boot a virtual machine with UEFI firmware from an iPXE script, which is now not supported. The reason is that ROM files in ipxe-qemu contain code used for legacy bios boot and for UEFI boot at the same time. To ensure qemu virtual machine live migration possible, the size of the ROM should remain in the same power of 2 bucket, which is 256k now. The detailed discussion is in #881263. The fact is that we cannot provide boot code for legacy bios boot and for UEFI boot at the same time within that limit. As a result, the code for UEFI boot contains no ipxe stack, but a simple virtual NIC driver, so that the EDK II firmware can use it for an normal IPXE boot. The detailed discussion about this is in #1095073. This change is also noted in the NEWS of ipxe-qemu.
Additionally, as far as I know, no real hardware ever had this same capability as legacy code in qemu+ipxe, - so your setup does not work for hardware. So basically, qemu+ipxe has become closer to the actual hardware it emulates. Thanks, /mjt