-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Describe how to enable & check nested virtualisation (#229)
Signed-off-by: Christian Berendt <berendt@osism.tech>
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
sidebar_label: Nova | ||
--- | ||
|
||
# Nova | ||
|
||
## Nested virtualisation | ||
|
||
### AMD | ||
|
||
``` | ||
echo "options kvm-amd nested=1" | sudo tee /etc/modprobe.d/kvm-nested-virtualization.conf | ||
sudo modprobe -r kvm_amd | ||
sudo modprobe kvm_amd | ||
cat /sys/module/kvm_amd/parameters/nested | ||
1 | ||
docker restart nova_libvirt | ||
``` | ||
|
||
### Intel | ||
|
||
``` | ||
echo "options kvm-intel nested=1" | sudo tee /etc/modprobe.d/kvm-nested-virtualization.conf | ||
sudo modprobe -r kvm_intel | ||
sudo modprobe kvm_intel | ||
cat /sys/module/kvm_intel/parameters/nested | ||
1 | ||
docker restart nova_libvirt | ||
``` |