SLES 15
Sponsored Link

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

options kvm_intel nested=1
# unload

dlp:~ #
modprobe -r kvm_intel

# reload

dlp:~ #
modprobe kvm_intel

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.
# edit the settings of a VM [sle15]

dlp:~ #
virsh edit sle15
# change cpu mode like follows

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