diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c index f9591964d5..36e0eed238 100644 --- a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -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