From Fedora Project Wiki

m (Generic-ify info about needed host and VM versions)
(Remove outdated info)
Line 16: Line 16:
 
# Inside the VM, do <code>sudo yum groupinstall virtualization</code>
 
# Inside the VM, do <code>sudo yum groupinstall virtualization</code>
 
# Verify that the guest has virt correctly setup with: <code>sudo virt-host-validate</code>
 
# Verify that the guest has virt correctly setup with: <code>sudo virt-host-validate</code>
 
=== 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
 
* http://kashyapc.wordpress.com/2013/02/12/nested-virtualization-with-kvm-and-intel-on-fedora-18/
 
* http://kashyapc.wordpress.com/2012/01/14/nested-virtualization-with-kvm-intel/
 
 
If you're using an AMD processor:
 
* http://kashyapc.wordpress.com/2012/01/18/nested-virtualization-with-kvm-and-amd/
 
  
 
|results=
 
|results=

Revision as of 16:58, 16 September 2014

Description

Configure an existing VM to allow nested virtualization: running performant VMs inside another VM, with access to the host's virtualization extensions.

Setup

Virt capable host, latest Fedora VM and latest Fedora host.

How to test

  1. Start with a shutoff VM
  2. Open virt-manager, go to the VM details page for that VM.
  3. Click on the CPU page.
  4. Click 'Copy host cpu', then 'Apply'
  5. Start the VM
  6. Inside the VM, do sudo yum groupinstall virtualization
  7. Verify that the guest has virt correctly setup with: sudo virt-host-validate

Expected Results

No obvious errors occur.