Score:0

How to check if KVM nested virtualization is supported on ARM64 processor?

cn flag

I have a virtual machine running RHEL 8.5 on an ARM64 (aarch64) processor - Arm Neoverse N1.

Every tutorial I've found states looking at either /sys/module/kvm_amd or the /sys/module/kvm_intel folder to figure out whether nested virtualization is enabled, but my VM does not have any of those. There is however a /sys/module/kvm folder which I figured is the right folder.

But the file which is used to determine whether nested virtualization is on (/sys/module/kvm/parameters/nested) is absent. It's not possible to create the file either because it's a read only folder. Trying to run Kata Containers (which uses QEMU) fails with:

Could not access KVM kernel module: No such file or directory
qemu-system-aarch64: failed to initialize kvm: No such file or directory

How is it possible to check whether nested VT is enabled, or how to enable nested VT?

anx avatar
fr flag
anx
What did the kernel say? (try `dmesg | grep -i kvm`)
Sayan J. Das avatar
cn flag
@anx Here is the output: `[ 0.161629] DMI: QEMU KVM Virtual Machine, BIOS 1.5.1 06/16/2021 [ 0.998613] kvm [1]: HYP mode not available [ 1.190231] systemd[1]: Detected virtualization kvm. [ 1.199640] systemd[1]: Initializing machine ID from KVM UUID. [ 14.789151] systemd[1]: Detected virtualization kvm. [13368.413034] systemd[1]: Detected virtualization kvm. [2168829.663102] systemd[1]: Detected virtualization kvm.`
djdomi avatar
za flag
uodate your question not post this as comment. the vm is running as qemu cpu, it should be running as native to support this. It looks for me that it is emulate a arm processor
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.