diff options
author | Markos Chandras <mchandras@suse.de> | 2017-12-18 10:22:03 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2017-12-18 10:24:43 +0000 |
commit | 00617d7f8b9b6eeb0271c64b5fa04522ee0ef21b (patch) | |
tree | c346ec7757656d73c3eac57bb2572fd62e7ccff0 /bifrost/scripts | |
parent | 6c728e29fee8e36b8ad66964e13ed2b311ef7bee (diff) |
bifrost: Set vCPU model to 'host-passthrough'
The default CPU model of QEMU GenuineIntel/QEMU Virtual CPU is not the
best option for vCPU in terms of performance. As such, lets use the
real host CPU. This has also been submitted upstream and the template
should be removed once the upstream patch has been merged and the SHA
for bifrost is bumped.
Change-Id: I23d86933604c290d5650b73f420972d0a2b23dc8
Link: https://review.openstack.org/#/c/528677/
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'bifrost/scripts')
-rwxr-xr-x | bifrost/scripts/bifrost-provision.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bifrost/scripts/bifrost-provision.sh b/bifrost/scripts/bifrost-provision.sh index d705f31f..ec46b1ef 100755 --- a/bifrost/scripts/bifrost-provision.sh +++ b/bifrost/scripts/bifrost-provision.sh @@ -102,6 +102,7 @@ ${ANSIBLE} ${XCI_ANSIBLE_VERBOSITY} \ -i inventory/localhost \ test-bifrost-create-vm.yaml \ -e test_vm_num_nodes=${TEST_VM_NUM_NODES} \ + -e test_vm_cpu='host-passthrough' \ -e test_vm_memory_size=${VM_MEMORY_SIZE} \ -e enable_venv=${ENABLE_VENV} \ -e test_vm_domain_type=${VM_DOMAIN_TYPE} \ @@ -114,6 +115,7 @@ ${ANSIBLE} ${XCI_ANSIBLE_VERBOSITY} \ -e use_cirros=${USE_CIRROS} \ -e testing_user=${TESTING_USER} \ -e test_vm_num_nodes=${TEST_VM_NUM_NODES} \ + -e test_vm_cpu='host-passthrough' \ -e inventory_dhcp=${INVENTORY_DHCP} \ -e inventory_dhcp_static_ip=${INVENTORY_DHCP_STATIC_IP} \ -e enable_venv=${ENABLE_VENV} \ |