mirror of https://github.com/acidanthera/audk.git
ArmVirtPkg/PlatformBootManagerLib: minimize the set of connected devices
Prefer ConnectDevicesFromQemu() to EfiBootManagerConnectAll(). Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Shannon Zhao <zhaoshenglong@huawei.com> Cc: Xiang Zheng <xiang.zheng@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> # ArmVirtQemu Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Xiang Zheng <xiang.zheng@linaro.org>
This commit is contained in:
parent
245c643cc8
commit
ff1d0fbfba
|
@ -663,15 +663,23 @@ PlatformBootManagerAfterConsole (
|
|||
VOID
|
||||
)
|
||||
{
|
||||
RETURN_STATUS Status;
|
||||
|
||||
//
|
||||
// Show the splash screen.
|
||||
//
|
||||
BootLogoEnableLogo ();
|
||||
|
||||
//
|
||||
// Connect the rest of the devices.
|
||||
// Connect the purported boot devices.
|
||||
//
|
||||
EfiBootManagerConnectAll ();
|
||||
Status = ConnectDevicesFromQemu ();
|
||||
if (RETURN_ERROR (Status)) {
|
||||
//
|
||||
// Connect the rest of the devices.
|
||||
//
|
||||
EfiBootManagerConnectAll ();
|
||||
}
|
||||
|
||||
//
|
||||
// Process QEMU's -kernel command line option. Note that the kernel booted
|
||||
|
|
Loading…
Reference in New Issue