[libvirt] [PATCHv1 00/12] BaselineHypervisorCPU using QEMU QMP exchanges

Chris Venteicher posted 12 patches 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180622044211.2212-1-cventeic@redhat.com
Test syntax-check passed
There is a newer version of this series
src/conf/cpu_conf.c          |  15 ++
src/conf/cpu_conf.h          |   3 +
src/libvirt_private.syms     |   1 +
src/qemu/qemu_capabilities.c | 335 +++++++++++++++++++++++++++++------
src/qemu/qemu_capabilities.h |  33 ++++
src/qemu/qemu_driver.c       |  66 ++++++-
src/qemu/qemu_monitor.c      |  90 +++++++++-
src/qemu/qemu_monitor.h      |  16 +-
src/qemu/qemu_monitor_json.c | 226 +++++++++++++++++++----
src/qemu/qemu_monitor_json.h |  14 +-
tests/cputest.c              |   7 +-
11 files changed, 683 insertions(+), 123 deletions(-)
[libvirt] [PATCHv1 00/12] BaselineHypervisorCPU using QEMU QMP exchanges
Posted by Chris Venteicher 5 years, 10 months ago
Some architectures (S390) depend on QEMU to compute baseline CPU model and 
expand a models feature set.

Interacting with QEMU requires starting the QEMU process and completing one or
more query-cpu-model-baseline QMP exchanges with QEMU in addition to a 
query-cpu-model-expansion QMP exchange to expand all features in the model.

See "s390x CPU models: exposing features" patch set on Qemu-devel for discussion
of QEMU aspects.

This is part of resolution of: https://bugzilla.redhat.com/show_bug.cgi?id=1511999

Signed-off-by: Chris Venteicher <cventeic@redhat.com>

Chris Venteicher (12):
  qemu_monitor_json: qemuMonitorCPUModelInfo / JSON conversion
  qemu_monitor: Introduce qemuMonitorCPUModelInfoInit and
    qemuMonitorCPUModelInfoFreeContents
  qemu_monitor: Introduce qemuMonitorGetCPUModelBaseline
    (query-cpu-model-baseline)
  qemu_monitor: Indicate when CPUModelInfo props report migratablity
  qemu_monitor: CPUModelExpansion on CPUModel with both name and
    properties
  cpu_conf: Calculate virCPUDef List Length function
  qemu_capabilities: virCPUDef / qemuMonitorCPUModelInfo conversions
  qemu_capabilities: QMPCommandPtr without shadow qmperr
  qemu_capabilities: Persist QEMU instance over multiple QMP Cmds
  qemu_capabilities: Introduce virQEMUCapsNewQMPCommandConnection
  qemu_capabilities: Introduce virQEMUCapsQMPBaselineCPUModel (baseline
    using QEMU)
  qemu_driver: BaselineHypervisorCPU supports S390 using QEMU/QMP

 src/conf/cpu_conf.c          |  15 ++
 src/conf/cpu_conf.h          |   3 +
 src/libvirt_private.syms     |   1 +
 src/qemu/qemu_capabilities.c | 335 +++++++++++++++++++++++++++++------
 src/qemu/qemu_capabilities.h |  33 ++++
 src/qemu/qemu_driver.c       |  66 ++++++-
 src/qemu/qemu_monitor.c      |  90 +++++++++-
 src/qemu/qemu_monitor.h      |  16 +-
 src/qemu/qemu_monitor_json.c | 226 +++++++++++++++++++----
 src/qemu/qemu_monitor_json.h |  14 +-
 tests/cputest.c              |   7 +-
 11 files changed, 683 insertions(+), 123 deletions(-)

-- 
2.17.1

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