enalbe pass-through cpumode for virtual deployment 29/38329/3
authorchigang <chigang@huawei.com>
Fri, 28 Jul 2017 08:59:42 +0000 (16:59 +0800)
committerJustin chi <chigang@huawei.com>
Sat, 29 Jul 2017 06:07:45 +0000 (06:07 +0000)
JIRA:-

For KVM scenario, each host should set cpumode pass-through,
otherwise instances will fail to launch.

Change-Id: If58dca1ad590203f6e8de36e44c242252350ad19
Signed-off-by: chigang <chigang@huawei.com>
deploy/template/vm/host.xml

index f65d4f0..092f0ec 100644 (file)
@@ -14,6 +14,7 @@
     <apic/>
     <pae/>
   </features>
+  <cpu mode='host-passthrough'/>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>