From 2cf6b1a38df0c17b9809ce07b732777745b1d25f Mon Sep 17 00:00:00 2001
From: QiLiang <liangqi1@huawei.com>
Date: Mon, 15 May 2017 17:21:04 +0800
Subject: FIX compass-core vm panic issue

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 | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/deploy/template/vm/compass.xml b/deploy/template/vm/compass.xml
index 182232f4..fb7cbb9a 100644
--- a/deploy/template/vm/compass.xml
+++ b/deploy/template/vm/compass.xml
@@ -13,11 +13,7 @@
     <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>
-- 
cgit