KVM nesting on Debian 8
Turns out running KVM inside KVM performs acceptable. Here's what I had to to do give it a try.
check if nesting is enabled
cat /sys/module/kvm_intel/parameters/nested
should print: Y
if not you'll need to enable it (requires reboot to become effective)
sudo bash -c "echo 'options kvm_intel nested=1' >> /etc/modprobe.d/qemu-system-x86.conf"
next check if boot parameters correct
egrep 'KVM_INTEL|KVM_AMD' /boot/config-3.16.0-4-amd64
should return:
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
check if /dev/kvm
exists, if not run:
sudo modprobe kvm-intel
That's it, your host system is now configured to do KVM nesting. Make sure to configure your libvirt/KVM guest VMs to allow using svm/mvx instruction sets.
resources: