[libvirt] [PATCH 0/4] Fix host-model CPUs on hosts with CMT

Jiri Denemark jdenemar at redhat.com
Tue Aug 9 13:58:39 UTC 2016


Since the introduction of CMT features (commit v1.3.5-461-gf294b83)
starting a domain with host-model CPU on a host which supports CMT fails
because QEMU complains about unknown 'cmt' feature:

    qemu-system-x86_64: CPU feature cmt not found

https://bugzilla.redhat.com/show_bug.cgi?id=1355857

Jiri Denemark (4):
  cpu_x86: Introduce x86FeatureIsMigratable
  cpu_x86: Properly drop non-migratable features
  tests: Add a test for host-model CPU with CMT feature
  cpu_x86: Fix host-model CPUs on hosts with CMT

 src/cpu/cpu_x86.c                                  | 53 +++++++++++++++-------
 .../qemuxml2argv-cpu-host-model-cmt.args           | 22 +++++++++
 .../qemuxml2argv-cpu-host-model-cmt.xml            | 19 ++++++++
 tests/qemuxml2argvtest.c                           |  1 +
 tests/testutilsqemu.c                              |  1 +
 5 files changed, 79 insertions(+), 17 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-host-model-cmt.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-host-model-cmt.xml

-- 
2.9.2




More information about the libvir-list mailing list