From: Markos Chandras Date: Mon, 18 Dec 2017 10:22:03 +0000 (+0000) Subject: bifrost: Set vCPU model to 'host-passthrough' X-Git-Tag: 6.0.0~203^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=00617d7f8b9b6eeb0271c64b5fa04522ee0ef21b;p=releng-xci.git 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 --- diff --git a/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 b/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 new file mode 100644 index 00000000..15a99bfc --- /dev/null +++ b/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 @@ -0,0 +1,62 @@ + + {{ vm_name }} + {{ test_vm_memory_size }} + {{ test_vm_cpu_count }} + + hvm + + + + + + + + + + + + + + destroy + restart + restart + + {{ test_vm_emulator }} + + + + +
+ + +
+ + + + + + +