<div dir="ltr">Hello everyone,<br><div><br></div><div>I am relatively new to the community, thanks in advance for your time and help.</div><div><br></div><div>I have an openstack cluster ready, working with several compute nodes based on x86 architecture. My current installation is based on Ussuri.</div><div>I have recently acquired a couple of nvidia Jetson devices (<a href="https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-agx-xavier/">https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-agx-xavier/</a>) which I want to connect to the cluster.</div><div><br></div><div>The arm cpu model name is  ARMv8 Processor rev 0 (v8l).</div><div>CPU flags on the arm architecture are different and hence egrep -c '(vmx|svm)' /proc/cpuinfo is empty to the best of my knowledge.<br></div><div><br></div><div>However, i re-build the custom linux kernel (i.e, Tegra) of the Jetson device, enabling the KVM module. </div><div>So once i used:</div><div><br></div><div><div><b>sudo kvm-ok</b></div>INFO: /dev/kvm exists<br>KVM acceleration can be used</div><div><br></div><div><br></div><div><b>dmesg | grep -i kvm</b><br>[    1.372478] kvm [1]: 16-bit VMID<br>[    1.372489] kvm [1]: IDMAP page: 80fa1000<br>[    1.372498] kvm [1]: HYP VA range: 4000000000:7fffffffff<br>[    1.374185] kvm [1]: Hyp mode initialized successfully<br>[    1.374299] kvm [1]: vgic-v2@3884000<br>[    1.374763] kvm [1]: vgic interrupt IRQ1<br>[    1.374790] kvm [1]: virtual timer IRQ4</div><div><b style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;color:rgb(36,41,47)"><br></b></div><div><b style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;color:rgb(36,41,47)">dmesg | grep -i 'CPU features'</b></div><div><span style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;color:rgb(36,41,47)"><b>  </b>[    0.687366] CPU features: detected feature: Privileged Access Never</span></div><div><span style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;color:rgb(36,41,47)">  [    0.687372] CPU features: detected feature: LSE atomic instructions</span></div><div><span style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;color:rgb(36,41,47)">  [    0.687378] CPU features: detected feature: User Access Override</span></div><div><span style="font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;color:rgb(36,41,47)">  [    0.687385] CPU features: detected feature: 32-bit EL0 Support</span></div><div><div><br></div></div><div>Does this suffice to say that I can use KVM with libvirt for the nova openstack? </div><div>The version of libvirt is 6.0.0.<br></div><div><br></div><div><br></div><div>From  the nova logs i see the following with <b>virt_type = qemu</b><br></div><div><br></div><div>WARNING nova.virt.libvirt.driver [-] The libvirt driver is not tested on qemu/aarch64 by the OpenStack project and thus its quality can not be ensured. For more information, see: <a href="https://docs.openstack.org/nova/latest/user/support-matrix.html">https://docs.openstack.org/nova/latest/user/support-matrix.html</a><br></div><div><br></div><div>And as it detects the aarch64 device:</div><div>CPU mode "host-passthrough" was chosen <br></div><div><br></div><div>If i try to launch an instance i get the following error with qemu</div><div>libvirt.libvirtError: unsupported configuration: CPU mode 'host-passthrough' for aarch64 qemu domain on aarch64 host is not supported by hypervisor<br></div><div><br></div><div><br></div><div>where as i i use <b>virt_type= kvm</b> the error after trying to launch an instance is </div><div> libvirt.libvirtError: unsupported configuration: Emulator '/usr/bin/qemu-system-aarch64' does not support virt type 'kvm'<br></div><div><br></div><div><br></div><div>Any advice on how to proceed?</div><div><br></div><div>all the best</div><div>Pavlos.</div></div>