SLES 11 SP4
Sponsored Link

Nested KVM2015/11/22

 
Configure nested KVM. It's possible to install KVM and create virtual machines as nested KVM on KVM host.
[1] Enable the setting for Nested KVM.
dlp:~ #
vi /etc/modprobe.d/kvm-nested.conf
# create new

options kvm_intel nested=1
dlp:~ #
modprobe -r kvm_intel
   
# unload

dlp:~ #
modprobe kvm_intel
   
# reload again

dlp:~ #
cat /sys/module/kvm_intel/parameters/nested

Y    
# just enabled

[2] Edit the configuration of a virtual machine you'd like to set nested like follows.
It's OK to configure nested KVM and you can create virtual machines on the virtual machine nested.
dlp:~ #
virsh edit sles11
# add follows into any section

<cpu mode='host-passthrough'>
</cpu>
Matched Content