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 2025/07/30 11:33:16 UTC

(cloudstack) branch 4.20 updated: kvm: fix regression 5a52ca78ae5e165211c618525613c3d62cfd1b28 (#11342)

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

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


The following commit(s) were added to refs/heads/4.20 by this push:
     new 2d025bd0749 kvm: fix regression 5a52ca78ae5e165211c618525613c3d62cfd1b28 (#11342)
2d025bd0749 is described below

commit 2d025bd0749026afc4a7f71b161383a17fc59a8b
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Wed Jul 30 17:03:10 2025 +0530

    kvm: fix regression 5a52ca78ae5e165211c618525613c3d62cfd1b28 (#11342)
    
    Somehow the commit 5a52ca78ae5e165211c618525613c3d62cfd1b28 was reverted
    so cloud-init templates don't work on arm64 anymore :(
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
 .../src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
index 93ad084b437..1383190933d 100644
--- a/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
+++ b/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
@@ -249,9 +249,7 @@ public class LibvirtVMDef {
                         guestDef.append("<boot dev='" + bo + "'/>\n");
                     }
                 }
-                if (_arch == null || !_arch.equals("aarch64")) {
-                    guestDef.append("<smbios mode='sysinfo'/>\n");
-                }
+                guestDef.append("<smbios mode='sysinfo'/>\n");
                 guestDef.append("</os>\n");
                 if (iothreads) {
                     guestDef.append(String.format("<iothreads>%s</iothreads>", NUMBER_OF_IOTHREADS));