Clean up no longer used files

This commit is contained in:
Peter Boy 2023-11-28 21:25:08 +01:00
parent 0d0209108b
commit 184490796d
2 changed files with 0 additions and 77 deletions

View file

@ -1,56 +0,0 @@
[[proc_enabling-nested-virtualization-in-kvm]]
= Enabling nested virtualization in KVM
Nested virtualization allows you to run a virtual machine (VM) inside another VM while still using hardware acceleration from the host.
== Checking if nested virtualization is supported
For Intel processors, check the `/sys/module/kvm_intel/parameters/nested` file. For AMD processors, check the `/sys/module/kvm_amd/parameters/nested` file. If you see `1` or `Y`, nested virtualization is supported; if you see `0` or `N`, nested virtualization is not supported.
For example:
----
cat /sys/module/kvm_intel/parameters/nested
Y
----
== Enabling nested virtualization
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
----

View file

@ -1,21 +0,0 @@
[[proc_testing-nested-virtualization]]
= Testing nested virtualization
. Start the virtual machine.
. On the virtual machine, run:
+
----
sudo dnf group install virtualization
----
+
. Verify that the virtual machine has virtualization correctly set up:
+
----
sudo virt-host-validate
QEMU: Checking for hardware virtualization : PASS
QEMU: Checking if device /dev/kvm exists : PASS
QEMU: Checking if device /dev/kvm is accessible : PASS
QEMU: Checking if device /dev/vhost-net exists : PASS
QEMU: Checking if device /dev/net/tun exists : PASS
...
----