summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2017-05-15 17:21:04 +0800
committerqi liang <liangqi1@huawei.com>2017-06-14 03:30:46 +0000
commit2cf6b1a38df0c17b9809ce07b732777745b1d25f (patch)
tree5da58125d31a7ce8848b2c8c9e79a8c719969a0b
parente7b38764717a4bcde0f12e3e4fe651b60dc88f5a (diff)
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>
-rw-r--r--deploy/template/vm/compass.xml6
1 files changed, 1 insertions, 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>