KVM problems

Hello,

I have enabled the KVM in the linux kernel for AGX Xavier.
But, when I tried to install VM using “qemu-system-aarch64” command it gives the following error.

xyz@localhost: ~$ sudo qemu-system-aarch64 -cpu host -M virt,accel=kvm -m 4096 -nographic -drive if=pflash,format=raw,file=QEMU_EFI.img -drive if=pflash,file=varstore.img -drive if=virtio,file=debian.img -drive if=virtio,format=raw,file=debian-10.3.0-arm64-netinst.iso 
[sudo] password for xyz: 
qemu-system-aarch64: Initialization of device arm_gic failed: KVM with user space irqchip only works when the host kernel supports KVM_CAP_ARM_USER_IRQ

Any idea how to resolve this?

Thanks,

Hi,
Please check if this post helps your case:
https://devtalk.nvidia.com/default/topic/1071183/

I’ve written a guide for enabling KVM on the Xavier, its linked over at this topic: Guide to enable KVM on the Xavier