From 00617d7f8b9b6eeb0271c64b5fa04522ee0ef21b Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 18 Dec 2017 10:22:03 +0000 Subject: 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 --- .../templates/testvm.xml.j2 | 62 ++++++++++++++++++++++ bifrost/scripts/bifrost-provision.sh | 2 + 2 files changed, 64 insertions(+) create mode 100644 bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 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 }} + + + + +
+ + +
+ + + + + + +