enable kvm nested

cat /sys/module/kvm_intel/parameters/nested
N
Temporarily remove the KVM intel Kernel module, enable nested virtualization to be persistent across reboots and add the Kernel module back:

sudo rmmod kvm-intel
sudo sh -c “echo ‘options kvm-intel nested=y’ >> /etc/modprobe.d/dist.conf”
sudo modprobe kvm-intel
Ensure the Nested KVM Kernel module parameter for Intel is enabled on the host:

cat /sys/module/kvm_intel/parameters/nested
Y

modinfo kvm_intel | grep nested
parm: nested:bool

Leave a Reply

Your email address will not be published. Required fields are marked *