Skip to content

Commit

Permalink
Merge pull request #380 from lmzuccarelli/dev-docs-nested-virt-update
Browse files Browse the repository at this point in the history
Update on howto manually set nested-virtualization
  • Loading branch information
metal3-io-bot authored Mar 20, 2024
2 parents b60a237 + 170f7d2 commit 8ea1865
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/user-guide/src/developer_environment/tryit.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,30 @@ For execution with VMs
- Save and exit
- Manually **enable nested virtualization** if you don't have it enabled in your VM

```console
# To enable nested virtualization
# On Centos 9 streams (other distros may vary)
# check the current setting
$ sudo cat /sys/module/kvm_intel/parameters/nested
N # disabled

$ sudo vi /etc/modprobe.d/kvm.conf
# uncomment either of the line
# for Intel CPU, select [kvm_intel], for AMD CPU, select [kvm_amd]

options kvm_intel nested=1
#options kvm_amd nested=1

# unload
$ sudo modprobe -r kvm_intel

# reload
$ sudo modprobe kvm_intel

$ sudo cat /sys/module/kvm_intel/parameters/nested
Y # just enabled
```

### 1.2. Setup

> **_info:_** "Information"
Expand Down

0 comments on commit 8ea1865

Please sign in to comment.