From Fedora Project Wiki

(Remove outdated info)
(Have it use host-passthrough)
Line 12: Line 12:
 
# Open virt-manager, go to the VM details page for that VM.
 
# Open virt-manager, go to the VM details page for that VM.
 
# Click on the CPU page.
 
# Click on the CPU page.
# Click 'Copy host cpu', then 'Apply'
+
# In the CPU model field, type 'host-passthrough', click Apply
 
# Start the VM
 
# Start the VM
 
# Inside the VM, do <code>sudo yum groupinstall virtualization</code>
 
# Inside the VM, do <code>sudo yum groupinstall virtualization</code>

Revision as of 21:10, 15 April 2015

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. In the CPU model field, type 'host-passthrough', click 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.