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

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

commit 2b49a2550e380224085bed177a071a3bb2570cf3
Author: Rohit Yadav <[email protected]>
AuthorDate: Wed Jul 30 13:53:28 2025 +0530

    kvm: fix regression 5a52ca78ae5e165211c618525613c3d62cfd1b28
    
    Somehow the commit 5a52ca78ae5e165211c618525613c3d62cfd1b28 was reverted
    so cloud-init templates don't work on arm64 anymore :(
    
    Signed-off-by: Rohit Yadav <[email protected]>
    (cherry picked from commit 912aa2441e3fecb6be15ecd441b11a7dc5c93d9e)
    Signed-off-by: Rohit Yadav <[email protected]>
---
 .../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));

Reply via email to