From 0f78bd3df6278d4387cb723d694e889a34128145 Mon Sep 17 00:00:00 2001 From: Michel Thebeau Date: Thu, 6 Sep 2018 17:23:32 -0400 Subject: [PATCH] deployment: libvirt: update machine type and model Tests should run on a comparably newer model of CPU and should be fixed for all tests under virtualization. Nehalem cpu model is recommended as one that has been used for this purpose for a few years. Specifying 'forbid' for fallback and 'exact' for mode will ensure that hosts the Qemu emulator is up-to-date on the host, capable of emulating the expect model. The consistency will make test results reliable across host machines. The newer machine type supports ACPI for example. The feature "vmx" is required on computes to support nesting. Related-Bug: #1790716 Change-Id: Ib338501b4805532a9d1ebaf55735f9084bfa8e96 Signed-off-by: Michel Thebeau --- libvirt/compute.xml | 8 ++++---- libvirt/controller.xml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libvirt/compute.xml b/libvirt/compute.xml index 19e052a..d1f9291 100644 --- a/libvirt/compute.xml +++ b/libvirt/compute.xml @@ -7,17 +7,17 @@ /machine - hvm + hvm - - + + Nehalem - + diff --git a/libvirt/controller.xml b/libvirt/controller.xml index ed54d36..bf056d3 100644 --- a/libvirt/controller.xml +++ b/libvirt/controller.xml @@ -7,15 +7,15 @@ /machine - hvm + hvm - - + + Nehalem