]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c
OvmfPkg/PlatformBootManagerLib: add missing report status code call
[mirror_edk2.git] / OvmfPkg / Library / PlatformBootManagerLib / QemuKernel.c
index ef728dfdeb60b4894f73e77fa7d878964fa77263..f20df9533fdaa6b48477d68f09affdf6360269bc 100644 (file)
@@ -18,6 +18,7 @@
 #include <Library/LoadLinuxLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/QemuFwCfgLib.h>\r
+#include <Library/ReportStatusCodeLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/UefiLib.h>\r
 \r
@@ -149,6 +150,9 @@ TryRunningQemuKernel (
   //\r
   EfiSignalEventReadyToBoot();\r
 \r
+  REPORT_STATUS_CODE (EFI_PROGRESS_CODE,\r
+    (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT));\r
+\r
   Status = LoadLinux (KernelBuf, SetupBuf);\r
 \r
 FreeAndReturn:\r