- Català: Aquesta pàgina no està traduida encara al català.
- Castellano: Esta página no está traducida aún al castellano.
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
modprobe -r kvm_intel
modprobe kvm_intel nested=1
Permanent¶
Create the file /etc/modprobe.d/kvm.conf
and add inside:
options kvm_intel nested=1
Nested virt in AMD processors:¶
Live¶
With all VMs stopped remove kvm_amd module
modprobe -r kvm_amd
modprobe kvm_amd nested=1
Permanent¶
Create the file /etc/modprobe.d/kvm.conf
and add inside:
options kvm_amd nested=1
Last update:
July 7, 2023