FIX compass-core vm panic issue 47/34947/2
authorQiLiang <liangqi1@huawei.com>
Mon, 15 May 2017 09:21:04 +0000 (17:21 +0800)
committerqi liang <liangqi1@huawei.com>
Wed, 14 Jun 2017 03:30:46 +0000 (03:30 +0000)
JIRA: -

Update compass-core vm cpu mode in libvirt xml to let
compass-core vm support most instruction set that host support.

Change-Id: I654672f441c18e0da87509d3c492ceae2bf9ba95
Signed-off-by: QiLiang <liangqi1@huawei.com>
deploy/template/vm/compass.xml

index 182232f..fb7cbb9 100644 (file)
     <apic/>
     <pae/>
   </features>
-  <cpu mode='host-model'>
-    <model fallback='allow'/>
-    <feature policy='optional' name='vmx'/>
-    <feature policy='optional' name='svm'/>
-  </cpu>
+  <cpu mode='host-passthrough'/>
   <clock offset='utc'/>
   <on_poweroff>destroy</on_poweroff>
   <on_reboot>restart</on_reboot>