[PATCHv1 00/12] BaselineHypervisorCPU using QEMU QMP exchanges

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux