Configure an existing VM to allow nested virtualization: running performant VMs inside another VM, with access to the host's virtualization extensions.
Virt capable host, F19+ VM and F19+ host.
How to test
- Start with a shutoff VM
- Open virt-manager, go to the VM details page for that VM.
- Click on the CPU page.
- Click 'Copy host cpu', then 'Apply'
- Start the VM
- Inside the VM, do
sudo yum groupinstall virtualization
- Verify that the guest has virt correctly setup with:
Additional info and tests
If you're using an Intel processor:
- For Fedora-19 -- https://github.com/kashyapc/nvmx-haswell/blob/master/SETUP-nVMX.rst
If you're using an AMD processor:
No obvious errors occur.