Skip to content

Commit a85a00b

Browse files
authored
kvm: Fixes UEFI XML Definition Error (#5692)
UEFI bootMode 추가
1 parent babf94f commit a85a00b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2357,6 +2357,8 @@ public LibvirtVMDef createVMFromSpec(final VirtualMachineTO vmTO) {
23572357
s_logger.debug(String.format("Enabled Secure Boot for VM UUID [%s].", uuid));
23582358
isSecureBoot = true;
23592359
}
2360+
2361+
bootMode = customParams.get(GuestDef.BootType.UEFI.toString());
23602362
}
23612363

23622364
Map<String, String> extraConfig = vmTO.getExtraConfig();

0 commit comments

Comments
 (0)