Package: ipxe-qemu
Version: 1.21.1+git20250317.42a29d56+dfsg-1
Severity: important
X-Debbugs-Cc: pkg-qemu-de...@lists.alioth.debian.org

Hi!

Thank you for providing sane EFI PXE ROMs - this is much
appreciated.

Unfortunatly, there's something wrong with these ROMs:
they fail to boot entirely in EFI mode.

 qemu-system-x86_64 -netdev user,id=n \
  -device virtio-net-pci,netdev=n,romfile=deb12.rom \
  -boot n -bios /usr/share/qemu/OVMF.fd -nographic

where deb12.rom is a copy of /usr/lib/ipxe/qemu/efi-virtio.rom.
This works fine and boots into ipxe rom.  However, when the
romfile is replaced with deb13.rom (/usr/share/qemu/efi-virtio.rom
from ipxe-qemu in trixie), it just drops into EFI shell, without
trying to boot from the ipxe device.

The same happens with e1000 device as well (with the proper
ROMs for this device).

Can you take a look please?

Why do we need ipxe EFI ROMs, while EDK2 has built-in PXE ROMs
for some devices?  The thing is that ipxe ROMs has more features
than EDK2 ROMs, in particular, they support some scripting which
is used in some environments.  Currently, such scripting is
obviously broken in trixie.

EDK2 PXE has another issue as well, - it requires some source
of randomness.  So it works with -cpu host, or -device virtio-rng,
but does not load without.

Thanks,

/mjt

Reply via email to