]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c
OvmfPkg: rename QemuBootOrderNNNN to VMMBootOrderNNNN
[mirror_edk2.git] / OvmfPkg / Library / QemuBootOrderLib / QemuBootOrderLib.c
index 18646daa67e3247403628bba0774d3025736f53b..cea4b7a099e317ee4e0db1febdd5910b0dd05c36 100644 (file)
@@ -1709,7 +1709,7 @@ FreeFwCfg:
   Attempt to retrieve the "bootorder" fw_cfg file from QEMU. Translate\r
   the OpenFirmware device paths therein to UEFI device path fragments.\r
 \r
-  On Success store the device path in QemuBootOrderNNNN variables.\r
+  On Success store the device path in VMMBootOrderNNNN variables.\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -1794,13 +1794,13 @@ StoreQemuBootOrder (
       UnicodeSPrint (\r
         VariableName,\r
         sizeof (VariableName),\r
-        L"QemuBootOrder%04d",\r
+        L"VMMBootOrder%04x",\r
         VariableIndex++\r
         );\r
       DEBUG ((DEBUG_INFO, "%a: %s = %s\n", __FUNCTION__, VariableName, Translated));\r
       gRT->SetVariable (\r
              VariableName,\r
-             &gQemuBootOrderGuid,\r
+             &gVMMBootOrderGuid,\r
              EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,\r
              GetDevicePathSize (DevicePath),\r
              DevicePath\r