Video: KVM within KVM, aka Nested

Submitted by Scott Dowdle on Fri, 04/01/2016 - 13:51

A few of us were talking about VDI and KVM in IRC and our buddy kaptk2 told me that nested KVM was working pretty well these days... since Fedora 19 he said.  I had not tried it yet so I thought I'd give it a try.  It worked so well that I thought I'd make a screencast showing it off. The original recording size was 1920x1080 (plus titlebar) and I scaled it down to 1280x734... so full-screen it for a better view beyond the embedded 824x473 video.  Oh, and yes SELinux is enabled and in enforcing mode everywhere.  Umm, and NO, this is NOT an April fools joke!

There is a tiny bit of work to do to get it going but not much.  Add a kernel boot parameter and configure the CPU details for the VM.  For more info, see this:
https://fedoraproject.org/wiki/How_to_enable_nested_virtualization_in_KVM


nested-kvm-on-fedora-23.webm (21 minutes, 21.5 MB)