This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kvm:nested [2016/04/03 23:40] Toni Corvera Added memory to kvm command |
kvm:nested [2016/04/04 00:20] Toni Corvera |
||
---|---|---|---|
Line 3: | Line 3: | ||
Some random notes (to be sorted at some point) on running KVM inside KVM, e.g. to test-run Cloudmin/Proxmox/CoreOS without affecting your machine. | Some random notes (to be sorted at some point) on running KVM inside KVM, e.g. to test-run Cloudmin/Proxmox/CoreOS without affecting your machine. | ||
+ | Notice nesting is not enabled by default, it can be checked on ''/sys'' and enabled by passing ''nested=1'' as an option to the module: | ||
+ | |||
+ | $ cat /sys/module/kvm_intel/parameters/nested | ||
+ | N | ||
+ | rmmod kvm-intel # or kvm-amd | ||
+ | modprobe kvm-intel nested=1 | ||
+ | $ cat /sys/module/kvm_intel/parameters/nested | ||
+ | Y | ||
+ | | ||
Command-line example: | Command-line example: | ||