The original fix was both incomplete and too general. It only fixed
domain startup, but libvirt would still report empty list of supported
CPU models with recent QEMU for ppc64. On the other hand, while ppc64
QEMU ignores case when looking up CPU model names, x86_64 QEMU does
case sensitive lookup.

Jiri Denemark (3):
  Revert "domcaps: Treat host models as case-insensitive strings"
  util: Introduce virStringListSearch
  qemu: Adapt to changed ppc64 CPU model names

 src/conf/domain_capabilities.c                |  2 +-
 src/libvirt_private.syms                      |  1 +
 src/qemu/qemu_capabilities.c                  | 28 +++++++++++++++++--
 src/qemu/qemu_capabilities.h                  |  3 +-
 src/qemu/qemu_process.c                       |  2 +-
 src/util/virstring.c                          | 28 +++++++++++++++++++
 src/util/virstring.h                          |  3 ++
 .../qemu_2.12.0.ppc64.xml                     |  6 +++-
 .../caps_2.12.0.ppc64.xml                     | 12 ++++----
 9 files changed, 73 insertions(+), 12 deletions(-)

-- 
2.17.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to