Nested KVM om Debian 8
KVM: the hypervisor that is build into the Linux kernel
KVM is a great hypervisor. It is build right into your Linux kernel and offers great, near native performance.
A great start to learn more about KVM is http://www.linux-kvm.org.
Fun with nested KVM
KVM is fun, nested KVM is even more fun.
It is really simple to start nesting KVM.
- Add a line to modprobe configuration
- Add a switch to the kvm start command
Add a line to modprobe configuration
Add a new conf-file to /etc/modprobe.d, something like nested.conf with the folowing contents:
options kvm-intel nested=y
Reboot to have your new line activated.
Now you should see the nested kvm enabled:
$ cat /sys/module/kvm_intel/parameters/nested Y
Add a switch to the kvm start command
Add the switch ```-cpu qemu64,+vmx''' to the kvm start command.
That is it :)
Have fun with nested kvm's!