• Bug#1101488: qemu-system-x86 - does not try to use iPXE in EFI

    From Bastian Blank@21:1/5 to All on Fri Mar 28 11:50:01 2025
    Package: qemu-system-x86
    Version: 1:10.0.0~rc1+ds-1
    Severity: important
    X-Debbugs-Cc: waldi@debian.org

    This is a regression from Bookworm, I think. In this version, even if available, qemu never tries to run efi-virtio.rom. Instead it just goes
    to the EDK2 internal EFI shell (depending on other config, sometimes also the internal PXE/HTTPBoot support).

    I tried setting the romfile for virtio-net-pci, no change.

    BIOS works:
    | $ qemu-system-x86_64 -machine q35 -nic user,model=virtio -boot n -nographic
    | SeaBIOS (version 1.16.3-debian-1.16.3-2)
    |
    |
    | iPXE (https://ipxe.org) 00:02.0 CA00 PCI2.10 PnP PMM+06FC6CF0+06F06CF0 CA00
    |
    |
    |
    | Booting from ROM...
    | iPXE (PCI 00:02.0) starting execution...ok
    | iPXE initialising devices...
    |
    |
    |
    | iPXE 1.21.1+git20250317.42a29d56+dfsg-1 -- Open Source Network Boot Firmware --
    | https://ipxe.org
    | Features: VLAN DNS HTTP HTTPS iSCSI NFS TFTP AoE ELF MBOOT PXE bzImage Menu PXEX
    | T
    |
    | Press Ctrl-B for the iPXE command line...

    EFI does not:
    | $ qemu-system-x86_64 -machine q35 -nic user,model=virtio -boot n -nographic -bios /usr/share/qemu/OVMF.fd
    | BdsDxe: starting Boot0001 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4)

    Am I doing something stupid here? ipxe-qemu is from unstable with the
    ROM changes already.

    Bastian

    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (700, 'testing'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.13-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages qemu-system-x86 depends on:
    ii ipxe-qemu 1.21.1+git20250317.42a29d56+dfsg-1
    ii libaio1t64 0.3.113-8+b1
    ii libbpf1 1:1.5.0-2
    ii libc6 2.41-6
    ii libcapstone5 5.0.5-1+b1
    ii libfdt1 1.7.2-2+b1
    ii libfuse3-4 3.17.1~rc1-3
    ii libglib2.0-0t64 2.84.0-2
    ii libgmp10 2:6.3.0+dfsg-3
    ii libgnutls30t64 3.8.9-2
    ii libhogweed6t64 3.10.1-1
    ii libibverbs1 56.0-3
    ii libjpeg62-turbo 1:2.1.5-3.1
    ii libnettle8t64 3.10.1-1
    ii libnuma1 2.0.18-1+b1
    ii libpixman-1-0 0.44.0-3
    ii libpmem1 1.13.1-1.1+b1
    ii libpng16-16t64 1.6.47-1.1
    ii librdmacm1t64 56.0-3
    ii libsasl2-2 2.1.28+dfsg1-9
    ii libseccomp2 2.6.0-2
    ii libslirp0 4.8.0-1+b1
    ii libudev1 257.4-3
    ii liburing2 2.9-1
    ii libvdeplug2t64 4.0.1-5.1+b1
    ii libzstd1 1.5.7+dfsg-1
    ii qemu-system-common 1:9.2.2+ds-1+b2
    ii qemu-system-data 1:9.2.2+ds-1
    ii seabios 1.16.3-2
    ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1

    Versions of packages qemu-system-x86 recommends:
    ii ovmf 2025.02-4
    pn qemu-block-extra <none>
    ii qemu-system-gui 1:9.2.2+ds-1+b2
    ii qemu-system-modules-opengl 1:9.2.2+ds-1+b2
    ii qemu-system-modules-spice 1:9.2.2+ds-1+b2
    ii qemu-utils 1:9.2.2+ds-1+b2

    Versions of packages qemu-system-x86 suggests:
    pn samba <none>
    pn vde2 <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)