OvmfPkg/QemuBootOrderLib: add StoreQemuBootOrder()
The function reads the boot order from qemu fw_cfg, translates it into device paths and stores them in 'QemuBootOrderNNNN' variables. In case there is no boot ordering configured the function will do nothing. Use case: Allow applications loaded via 'qemu -kernel bootloader.efi' obey the boot order. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
committed by
mergify[bot]
parent
db463e8e9d
commit
5eeb088ad6
@@ -1694,6 +1694,11 @@ PlatformBootManagerAfterConsole (
|
||||
//
|
||||
PciAcpiInitialization ();
|
||||
|
||||
//
|
||||
// Write qemu bootorder to efi variables
|
||||
//
|
||||
StoreQemuBootOrder ();
|
||||
|
||||
//
|
||||
// Process QEMU's -kernel command line option
|
||||
//
|
||||
|
Reference in New Issue
Block a user