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:
Laszlo Ersek 2018-03-13 19:32:55 +01:00
parent 245c643cc8
commit ff1d0fbfba
1 changed files with 10 additions and 2 deletions

View File

@ -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