sureshanaparti commented on code in PR #12952:
URL: https://github.com/apache/cloudstack/pull/12952#discussion_r3028789038


##########
engine/schema/src/main/java/com/cloud/upgrade/SystemVmTemplateRegistration.java:
##########
@@ -315,11 +315,11 @@ public void setUpdated(Date updated) {
     public static final List<Pair<Hypervisor.HypervisorType, CPU.CPUArch>> 
hypervisorList = Arrays.asList(
             new Pair<>(Hypervisor.HypervisorType.KVM, CPU.CPUArch.amd64),
             new Pair<>(Hypervisor.HypervisorType.KVM, CPU.CPUArch.arm64),
-            new Pair<>(Hypervisor.HypervisorType.VMware, null),
-            new Pair<>(Hypervisor.HypervisorType.XenServer, null),
-            new Pair<>(Hypervisor.HypervisorType.Hyperv, null),
-            new Pair<>(Hypervisor.HypervisorType.LXC, null),
-            new Pair<>(Hypervisor.HypervisorType.Ovm3, null)
+            new Pair<>(Hypervisor.HypervisorType.VMware, 
CPU.CPUArch.getDefault()),
+            new Pair<>(Hypervisor.HypervisorType.XenServer, 
CPU.CPUArch.getDefault()),
+            new Pair<>(Hypervisor.HypervisorType.Hyperv, 
CPU.CPUArch.getDefault()),
+            new Pair<>(Hypervisor.HypervisorType.LXC, 
CPU.CPUArch.getDefault()),
+            new Pair<>(Hypervisor.HypervisorType.Ovm3, 
CPU.CPUArch.getDefault())

Review Comment:
   also, make note of the changes in the below PR in main (no need of forward 
merging the changes here to main)
   
   
https://github.com/apache/cloudstack/pull/11656/changes#diff-a9c9a38684718059c060de404bf9529de96e502f1e81b30793e6a32f725042a9



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to