Status = PlatformBdsConnectConsole ();\r
ASSERT_EFI_ERROR (Status);\r
\r
+ BdsLibConnectAll ();\r
+\r
//\r
- // Process QEMU's -kernel command line option\r
+ // Process QEMU's -kernel command line option. Note that the kernel booted\r
+ // this way should receive ACPI tables, which is why we connect all devices\r
+ // first (see above) -- PCI enumeration blocks ACPI table installation, if\r
+ // there is a PCI host.\r
//\r
TryRunningQemuKernel ();\r
\r
- BdsLibConnectAll ();\r
BdsLibEnumerateAllBootOption (BootOptionList);\r
-\r
SetBootOrderFromQemu (BootOptionList);\r
//\r
// The BootOrder variable may have changed, reload the in-memory list with\r