On Tue, 2022-09-06 at 18:32 +0800, 韩光宇 wrote: > Hello, > > I see `egrep -c '(vmx|svm)' /proc/cpuinfo` in nova install > documentation[1]. It can be used to confirm whether a node supports > hardware acceleration for virtual machines on x86 architecture. But it > is not applicable in the ARM architecture. > > Do we have an officially recommended method to confirm in ARM architecture? on arm like x86 there are several extions that allow virutalistion the most basic is called VHE(Virtualization Host Extension) https://lwn.net/Articles/674533/ https://developer.arm.com/documentation/102142/0100/Virtualization-host-extensions they really only started to be a thing in armv8.1-a onwords https://en.wikipedia.org/wiki/AArch64 im not really sure fither is a prefered way to detect those. i would hope lscpu or /proc/cpuinfo would be an option looking on m1 macbook air under debian virt-host-valdiate show that kvm is aviable and acceible but lscpu does not show any cpu flags that looked virtualistion related. your milage might vary on a more standard arm plathform. virt-host-validate is gerneally provided as part of the libvirt installation so that would be my starting point. > > Thanks, > Han Guangyu > > [1]https://docs.openstack.org/nova/latest/install/compute-install-rdo.html#finalize-installation >