kvm supports nested virtualization, which means that virtual machines can be created within virtual machines. This article focuses on how to turn on kvm nested virtualization in CentOS 7 with Intel processors.
kvm is mainly implemented through the kernel module, so we can check if kvm nested virtualization is enabled on our system by simply executing the following command and know if it is supported based on the output.
If not, we need to create a new kvm-nested.conf
in /etc/modprobe.d/
.
Next, let’s reload the kvm module.
Finally, check again to see if it was successful.