[libvirt] [PATCH v2 0/8] CPU Model Baseline and Comparison for s390x

walling@linux.ibm.com posted 8 patches 4 years, 11 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1556310176-27835-1-git-send-email-walling@linux.ibm.com
There is a newer version of this series
src/conf/cpu_conf.c                              |  30 +++
src/conf/cpu_conf.h                              |   6 +
src/cpu/cpu.c                                    |  14 +-
src/libvirt_private.syms                         |   1 +
src/qemu/qemu_capabilities.c                     | 156 +++++++++++++
src/qemu/qemu_capabilities.h                     |  20 ++
src/qemu/qemu_driver.c                           |  38 +++
src/qemu/qemu_monitor.c                          |  44 ++++
src/qemu/qemu_monitor.h                          |  18 ++
src/qemu/qemu_monitor_json.c                     | 285 ++++++++++++++++++++---
src/qemu/qemu_monitor_json.h                     |  20 ++
tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml |   2 +
tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml |   2 +
tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml |   2 +
tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml  |   2 +
tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml  |   2 +
tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml  |   2 +
17 files changed, 595 insertions(+), 49 deletions(-)
[libvirt] [PATCH v2 0/8] CPU Model Baseline and Comparison for s390x
Posted by walling@linux.ibm.com 4 years, 11 months ago
From: Collin Walling <walling@linux.ibm.com>

Changelog:

    v1
        - introduce baseline
        - split patches into small chunks
        - free'd lingering qemuMonitorCPUModelInfo pointer
        - when converting from virCPUDef -> virJSON, consider
            feature policy FORCED for enabled

This is the second iteration of the CPU Model Comparison and
Baseline patches for s390x. The previous version only showed
comparison as a preview, and it can be found here:

https://www.redhat.com/archives/libvir-list/2019-April/msg01046.html

The first patch pull some code out of the CPU Model Expansion
JSON function so that it can be later used for the Comparison
and Baseline JSON functions.

The rest of the patches follow this sequence:
    - introduce JSON monitor functions
    - introduce capability and update test files
    - hook up monitor functions to virsh command

Thanks

@Daniel, I added your Tested-by where I felt made most sense.

Collin Walling (8):
  qemu_monitor: helper functions for CPU models
  qemu_monitor: implement query-cpu-model-baseline
  qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_BASELINE
  qemu_driver: hook up query-cpu-model-baseline
  qemu_monitor: implement query-cpu-model-comparison
  qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON
  cpu_conf: xml to cpu definition parse helper
  qemu_driver: hook up query-cpu-model-comparison

 src/conf/cpu_conf.c                              |  30 +++
 src/conf/cpu_conf.h                              |   6 +
 src/cpu/cpu.c                                    |  14 +-
 src/libvirt_private.syms                         |   1 +
 src/qemu/qemu_capabilities.c                     | 156 +++++++++++++
 src/qemu/qemu_capabilities.h                     |  20 ++
 src/qemu/qemu_driver.c                           |  38 +++
 src/qemu/qemu_monitor.c                          |  44 ++++
 src/qemu/qemu_monitor.h                          |  18 ++
 src/qemu/qemu_monitor_json.c                     | 285 ++++++++++++++++++++---
 src/qemu/qemu_monitor_json.h                     |  20 ++
 tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml |   2 +
 tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml |   2 +
 tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml |   2 +
 tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml  |   2 +
 tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml  |   2 +
 tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml  |   2 +
 17 files changed, 595 insertions(+), 49 deletions(-)

-- 
2.7.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/8] CPU Model Baseline and Comparison for s390x
Posted by Daniel Henrique Barboza 4 years, 11 months ago
Tested in both x86 and Power with the expected results.

Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>

On 4/26/19 5:22 PM, walling@linux.ibm.com wrote:
> From: Collin Walling <walling@linux.ibm.com>
>
> Changelog:
>
>      v1
>          - introduce baseline
>          - split patches into small chunks
>          - free'd lingering qemuMonitorCPUModelInfo pointer
>          - when converting from virCPUDef -> virJSON, consider
>              feature policy FORCED for enabled
>
> This is the second iteration of the CPU Model Comparison and
> Baseline patches for s390x. The previous version only showed
> comparison as a preview, and it can be found here:
>
> https://www.redhat.com/archives/libvir-list/2019-April/msg01046.html
>
> The first patch pull some code out of the CPU Model Expansion
> JSON function so that it can be later used for the Comparison
> and Baseline JSON functions.
>
> The rest of the patches follow this sequence:
>      - introduce JSON monitor functions
>      - introduce capability and update test files
>      - hook up monitor functions to virsh command
>
> Thanks
>
> @Daniel, I added your Tested-by where I felt made most sense.
>
> Collin Walling (8):
>    qemu_monitor: helper functions for CPU models
>    qemu_monitor: implement query-cpu-model-baseline
>    qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_BASELINE
>    qemu_driver: hook up query-cpu-model-baseline
>    qemu_monitor: implement query-cpu-model-comparison
>    qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON
>    cpu_conf: xml to cpu definition parse helper
>    qemu_driver: hook up query-cpu-model-comparison
>
>   src/conf/cpu_conf.c                              |  30 +++
>   src/conf/cpu_conf.h                              |   6 +
>   src/cpu/cpu.c                                    |  14 +-
>   src/libvirt_private.syms                         |   1 +
>   src/qemu/qemu_capabilities.c                     | 156 +++++++++++++
>   src/qemu/qemu_capabilities.h                     |  20 ++
>   src/qemu/qemu_driver.c                           |  38 +++
>   src/qemu/qemu_monitor.c                          |  44 ++++
>   src/qemu/qemu_monitor.h                          |  18 ++
>   src/qemu/qemu_monitor_json.c                     | 285 ++++++++++++++++++++---
>   src/qemu/qemu_monitor_json.h                     |  20 ++
>   tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml |   2 +
>   tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml |   2 +
>   tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml |   2 +
>   tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml  |   2 +
>   tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml  |   2 +
>   tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml  |   2 +
>   17 files changed, 595 insertions(+), 49 deletions(-)
>

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