mirror of https://github.com/acidanthera/audk.git
OvmfPkg/PlatformBootManagerLib: process "-kernel" before boot devices
This improves the UEFI boot time for VMs that have "-kernel", many disks or NICs, and no "bootindex" properties. (Unlike in ArmVirt commit23d04b58e2
, in OvmfPkg commit52fba28994
we introduced TryRunningQemuKernel() right from the start *after* BdsLibConnectAll(). Therefore, unlike in patch 'ArmVirtPkg/PlatformBootManagerLib: return to "-kernel before boot devices"', we adopt the logic as new in this patch.) Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
parent
5942ea61de
commit
a34a886962
|
@ -1449,16 +1449,16 @@ PlatformBootManagerAfterConsole (
|
|||
//
|
||||
PciAcpiInitialization ();
|
||||
|
||||
//
|
||||
// Perform some platform specific connect sequence
|
||||
//
|
||||
PlatformBdsConnectSequence ();
|
||||
|
||||
//
|
||||
// Process QEMU's -kernel command line option
|
||||
//
|
||||
TryRunningQemuKernel ();
|
||||
|
||||
//
|
||||
// Perform some platform specific connect sequence
|
||||
//
|
||||
PlatformBdsConnectSequence ();
|
||||
|
||||
EfiBootManagerRefreshAllBootOption ();
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue