Nested installation in KVM¶
Check for 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
It should show a 1 or Y if it is enabled.
You will need to enable nested virtualization on your host operating system if not active yet.
Nested virt in Intel processors:¶
Live¶
With all VMs stopped remove kvm_intel module
And load it again with nested option:Permanent¶
Create the file /etc/modprobe.d/kvm.conf and add inside:
Nested virt in AMD processors:¶
Live¶
With all VMs stopped remove kvm_amd module
And load it again with nested option:Permanent¶
Create the file /etc/modprobe.d/kvm.conf and add inside: