You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2021/11/23 11:14:50 UTC

[cloudstack] branch 4.16 updated: kvm: Fixes UEFI XML Definition Error (#5692)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.16 by this push:
     new a85a00b  kvm: Fixes UEFI XML Definition Error (#5692)
a85a00b is described below

commit a85a00bed97bf222acbc28eda893f4ddc57b1f09
Author: DH Park <pd...@gmail.com>
AuthorDate: Tue Nov 23 20:14:32 2021 +0900

    kvm: Fixes UEFI XML Definition Error (#5692)
    
    UEFI bootMode 추가
---
 .../com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
index 46763a1..9684b7e 100644
--- a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
+++ b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
@@ -2357,6 +2357,8 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
                 s_logger.debug(String.format("Enabled Secure Boot for VM UUID [%s].", uuid));
                 isSecureBoot = true;
             }
+
+            bootMode = customParams.get(GuestDef.BootType.UEFI.toString());
         }
 
         Map<String, String> extraConfig = vmTO.getExtraConfig();