qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too slow edk2 bios boot?


From: Gerd Hoffmann
Subject: Re: Too slow edk2 bios boot?
Date: Fri, 18 Jun 2021 13:46:50 +0200

On Fri, Jun 18, 2021 at 06:46:57PM +0800, Bin Meng wrote:
> Hi Laszlo,
> 
> Using the QEMU shipped edk2 bios, for i386, it boots very quickly to
> the EFI shell.
> 
> $ qemu-system-i386 -nographic -pflash edk2-i386-code.fd
> 
> However with x86_64, it takes a very long time to boot to the EFI
> shell. It seems it got stuck in the PXE boot. Any ideas?

One year ago ia32 efi netboot support was dropped (and you are the first
who noticed 😎 ).

commit 9ed02fbb847277bef88dbe6a677cf3e5f39e5a38
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Wed Jul 22 12:24:35 2020 +0200

    ipxe: drop ia32 efi roms
    
    UEFI on ia32 never really took off.  Basically the BIOS -> UEFI shift
    came too late, x64 was widespread already, so vendors went from BIOS
    straight to UEFI on x64.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


> I checked the boot manager, and it seems only 64-bit edk2 bios has
> built-in PXE boot while 32-bit does not.

It isn't edk2 but the nic boot roms, but yes, lack of pxe support on
ia32 is the root cause.

> Any idea to speed up this whole PXE boot thing?

qemu -nic none ?

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]