Outils pour utilisateurs

Outils du site


tech:notes_nested_virtualization

Ceci est une ancienne révision du document !


Notes nested virtualization

Source : https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/

Checking if nested virtualization is supported

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

To enable nested virtualization for Intel processors:

Shut down all running VMs and unload the kvm_probe module:

sudo modprobe -r kvm_intel

Activate the nesting feature:

sudo modprobe kvm_intel nested=1

Nested virtualization is enabled until the host is rebooted. To enable it permanently, add the following line to the /etc/modprobe.d/kvm.conf file:

options kvm_intel nested=1

To enable nested virtualization for AMD processors:

Shut down all running VMs and unload the kvm_amd module:

sudo modprobe -r kvm_amd

Activate the nesting feature:

sudo modprobe kvm_amd nested=1

Nested virtualization is enabled until the host is rebooted. To enable it permanently, add the following line to the /etc/modprobe.d/kvm.conf file:

options kvm_amd nested=1

Testing nested virtualization

virt-host-validate
tech/notes_nested_virtualization.1747303591.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki