Some architectures (S390) depend on QEMU to compute baseline CPU model.
Interacting with QEMU requires starting the QEMU process and completing one or
more query-cpu-model-baseline QMP exchanges with QEMU.
This patch set depends on qemuMonitorGetCPUModelBaseline function exposed by
"query-cpu-model-baseline QMP Command" patch set discussed previously on
libvir-list.
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(a)redhat.com>
Chris Venteicher (7):
qemu_monitor_json: Properties optional in QMP JSON for CPUModelInfo
qemu_capabilities: CPUModelInfo: XML/QMP format conversion
qemu_capabilities: Start and connect to QEMU
qemu_capabilities: Baseline CPUModel via QEMU
qemu_capabilities: Find QEMU binary for S390 arch
qemu_capabilities: qmperr pointer tracked in QMPCommand
qemu_driver: Baseline CPU model using QEMU
src/qemu/qemu_capabilities.c | 362 ++++++++++++++++++++++++++++++++++++++++++-
src/qemu/qemu_capabilities.h | 9 ++
src/qemu/qemu_driver.c | 29 ++++
src/qemu/qemu_monitor_json.c | 34 ++--
4 files changed, 414 insertions(+), 20 deletions(-)
--
2.14.1