summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-08-10 09:34:16 +0200
committerMichal Skalski <mskalski@mirantis.com>2016-08-10 12:05:20 +0200
commit34da00c2baa6abc69a812aae4c30a82ebae561bd (patch)
treebc7933399b206a55d6bce8139538309ba53dde19
parentd19c4589554b2d82b6fcb1fe921ffeffd9377a2f (diff)
Pass host cpu flags to compute guests
Both kvm and ovs plugins require specific cpu flags. Host-model mode will pass most of the host cpu flags to guest. JIRA: FUEL-157 Change-Id: Iff620a4b4f5948e54f6f8db01411d6659f08ec00 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
-rw-r--r--deploy/templates/virtual_environment/vms/compute.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/templates/virtual_environment/vms/compute.xml b/deploy/templates/virtual_environment/vms/compute.xml
index 95db87984..f4180d33d 100644
--- a/deploy/templates/virtual_environment/vms/compute.xml
+++ b/deploy/templates/virtual_environment/vms/compute.xml
@@ -2,6 +2,9 @@
<name>compute</name>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
+ <cpu mode='host-model'>
+ <model fallback='forbid'/>
+ </cpu>
<vcpu placement='static'>2</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>