Nested installation in KVM¶
Check the nested virtualization option in your host operating system:
- Intel processors:
cat /sys/module/kvm_intel/parameters/nested - AMD processors:
cat /sys/module/kvm_amd/parameters/nested
The output should show 1 or Y if nested virtualization is enabled.
If it is not active, enable nested virtualization on your host operating system.
Nested virtualization on Intel processors¶
Live configuration¶
- Stop all virtual machines.
- Remove the
kvm_intelmodule. - Load the module again with the nested option enabled.
Permanent configuration¶
Create the file /etc/modprobe.d/kvm.conf with this content:
Nested virtualization on AMD processors¶
Live configuration¶
- Stop all virtual machines.
- Remove the
kvm_amdmodule. - Load the module again with the nested option enabled.
Permanent configuration¶
Create the file /etc/modprobe.d/kvm.conf with this content: