You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "longxiaotian799 (via GitHub)" <gi...@apache.org> on 2025/08/29 02:44:24 UTC

[I] HypervisorGuruBase.java did not consider aarch64 [cloudstack]

longxiaotian799 opened a new issue, #11529:
URL: https://github.com/apache/cloudstack/issues/11529

   ### problem
   
   start from line 315 in HypervisorGuruBase.java
   if (vmProfile.getTemplate().getBits() == 32) {
       to.setArch("i686");
   } else if("s390x".equals(System.getProperty("os.arch"))) {
       to.setArch("s390x");
   } else {
       to.setArch("x86_64");
   }.
   If host machine is arm, it goes to "else {
       to.setArch("x86_64");
   }".  "to" refers to "VirtualMachineTo", and it will be passed to "LibvirtComputingResource" and then to "LibvirtVMDef" later, thus affecting the generation of "<os><type arch=...>". Since this part is hard-coded here, the method "LibvirtVMDef.setGuestArch("aarch64")" has no chance to be called at all.
   
   ### versions
   
   main branch
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### What to do about it?
   
   _No response_


-- 
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: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] HypervisorGuruBase.java did not consider aarch64 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache closed issue #11529: HypervisorGuruBase.java did not consider aarch64
URL: https://github.com/apache/cloudstack/issues/11529


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] HypervisorGuruBase.java did not consider aarch64 [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #11529:
URL: https://github.com/apache/cloudstack/issues/11529#issuecomment-3326950157

   fixed by #11530 
   
   thanks @shwstppr 


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org