Technical review of using nested virtualization

This commit is contained in:
Connor Lim 2021-01-15 21:35:05 +08:00 committed by pbokoc
parent 5f4f52dc1f
commit 73c781cd26
3 changed files with 14 additions and 13 deletions

View file

@ -22,12 +22,12 @@ To enable nested virtualization for Intel processors:
. Shut down all running VMs and unload the `kvm_probe` module:
+
----
# modprobe -r kvm_intel
$ sudo modprobe -r kvm_intel
----
. Activate the nesting feature:
+
----
# modprobe kvm_intel nested=1
$ 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:
@ -41,12 +41,12 @@ To enable nested virtualization for AMD processors:
. Shut down all running VMs and unload the `kvm_amd` module:
+
----
# modprobe -r kvm_amd
$ sudo modprobe -r kvm_amd
----
. Activate the nesting feature:
+
----
# modprobe kvm_amd nested=1
$ 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:
+