boot: Use host-passthrough instead of host-model.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 9 Sep 2015 16:35:12 +0000 (17:35 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 9 Sep 2015 16:35:12 +0000 (17:35 +0100)
This causes the -cpu host option to be used, which has the side-effect
of enabling nested KVM.

mclu_boot.ml

index 5aa8290..e0aeef8 100644 (file)
@@ -210,7 +210,7 @@ Try: `mclu on %s'\n" hostname hostname;
     <apic/>
     <pae/>
   </features>
-  <cpu mode='host-model' fallback='allow' />
+  <cpu mode='host-passthrough'/> <!-- -cpu host, also allows nested -->
   <clock offset='utc'>
     <timer name='rtc' tickpolicy='catchup'/>
     <timer name='pit' tickpolicy='delay'/>