Changes

stoney cloud: Nested virtualization

360 bytes added, 13:57, 24 December 2013
/* Setup */
== Setup ==
=== Intel ===
Login as root, then execute the following:
 
<source lang='bash'>
cat > /etc/modprobe.d/nested-virtualization.conf << EOF
options kvm-intel nested=Y enable_shadow_vmcs=Y
EOF
</source>
 
You either have to reboot or <code>rmmod/modprobe</code> the corresponding module if no VM is running. For example:
rmmod kvm_intel
modprobe kvm_intel
 
=== AMD ===
Login as root, then execute the following:
<source lang='bash'>
cat > /etc/modprobe.d/nested-virtualization.conf << EOF
options kvm-amd nested=Y
EOF
</source>
You either have to reboot or <code>rmmod/modprobe</code> the corresponding module if no VM is running. For example: rmmod kvm_amd modprobe kvm_amd
== VM configuration ==
SLB, editor, reviewer
3,368
edits