summaryrefslogtreecommitdiffstats
path: root/deploy/template/vm/compass.xml
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2017-05-15 17:21:04 +0800
committerQiLiang <liangqi1@huawei.com>2017-05-15 17:27:52 +0800
commit8ed47ae6ab2e57a37cd90707adcd0b2ea53362a1 (patch)
treec06c620910229c5d8f9981e3bb7b0367fef442c9 /deploy/template/vm/compass.xml
parentfe888225b54b228ab319573697daab9a0523f2bb (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>
Diffstat (limited to 'deploy/template/vm/compass.xml')
-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>