[libvirt] [PATCH 0/2] Fix ppc64 CPU configuration for QEMU 2.11+

Jiri Denemark posted 2 patches 1 week ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1570539134.git.jdenemar@redhat.com
src/conf/domain_capabilities.c                |  2 +-
src/qemu/qemu_capabilities.c                  | 26 +++++++++++++++++--
src/qemu/qemu_capabilities.h                  |  3 ++-
src/qemu/qemu_process.c                       |  2 +-
.../qemu_2.12.0.ppc64.xml                     |  6 ++++-
.../caps_2.12.0.ppc64.xml                     | 12 ++++-----
.../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 12 ++++-----
.../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 12 ++++-----
.../qemucapabilitiesdata/caps_4.0.0.ppc64.xml | 12 ++++-----
9 files changed, 57 insertions(+), 30 deletions(-)

[libvirt] [PATCH 0/2] Fix ppc64 CPU configuration for QEMU 2.11+

Posted by Jiri Denemark 1 week ago
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 (2):
  Revert "domcaps: Treat host models as case-insensitive strings"
  qemu: Adapt to changed ppc64 CPU model names

 src/conf/domain_capabilities.c                |  2 +-
 src/qemu/qemu_capabilities.c                  | 26 +++++++++++++++++--
 src/qemu/qemu_capabilities.h                  |  3 ++-
 src/qemu/qemu_process.c                       |  2 +-
 .../qemu_2.12.0.ppc64.xml                     |  6 ++++-
 .../caps_2.12.0.ppc64.xml                     | 12 ++++-----
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 12 ++++-----
 .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 12 ++++-----
 .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml | 12 ++++-----
 9 files changed, 57 insertions(+), 30 deletions(-)

-- 
2.23.0

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

Re: [libvirt] [PATCH 0/2] Fix ppc64 CPU configuration for QEMU 2.11+

Posted by Ján Tomko 1 week ago
On Tue, Oct 08, 2019 at 02:53:08PM +0200, Jiri Denemark wrote:
>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 (2):
>  Revert "domcaps: Treat host models as case-insensitive strings"
>  qemu: Adapt to changed ppc64 CPU model names
>
> src/conf/domain_capabilities.c                |  2 +-
> src/qemu/qemu_capabilities.c                  | 26 +++++++++++++++++--
> src/qemu/qemu_capabilities.h                  |  3 ++-
> src/qemu/qemu_process.c                       |  2 +-
> .../qemu_2.12.0.ppc64.xml                     |  6 ++++-
> .../caps_2.12.0.ppc64.xml                     | 12 ++++-----
> .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 12 ++++-----
> .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 12 ++++-----
> .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml | 12 ++++-----
> 9 files changed, 57 insertions(+), 30 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

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