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

[libvirt] [PATCH 0/4] prepare for qemu 1.5 command-line probing via QMP



This series sets up the groundwork to make it easy to add a
capability bit in qemu_capabilities based on whether a particular
qemu command-line option has a given parameter.  Future patches,
such as Osier's work to use '-machine mem-merge' when it exists,
will benefit from this new probing ability.

Since this missed rc1 freeze, I'm a bit reluctant to include it
in libvirt 1.0.5 without a client that actually needs it.

Hmm, in writing up this cover letter, I think I should work on a
patch 5/4 that enhances qemu_capabilities to make it easy to
search for a given option and capability whether parsing -help
output (hello RHEL qemu) or using QMP (upstream).

Eric Blake (4):
  json: support removing a value from an object
  qemu: use bool in monitor struct
  qemu: simplify string cleanup
  qemu: query command line options in QMP

 src/libvirt_private.syms     |   1 +
 src/qemu/qemu_domain.c       |   7 +-
 src/qemu/qemu_domain.h       |   2 +-
 src/qemu/qemu_monitor.c      |  59 ++++++++++++---
 src/qemu/qemu_monitor.h      |  13 +++-
 src/qemu/qemu_monitor_json.c | 174 +++++++++++++++++++++++++++++++++++--------
 src/qemu/qemu_monitor_json.h |   4 +
 src/qemu/qemu_process.c      |   8 +-
 src/util/virjson.c           |  34 ++++++++-
 src/util/virjson.h           |   9 ++-
 tests/jsontest.c             |  83 ++++++++++++++++++++-
 tests/qemumonitorjsontest.c  | 103 +++++++++++++++++++++++++
 tests/qemumonitortestutils.c |   2 +-
 13 files changed, 437 insertions(+), 62 deletions(-)

-- 
1.8.1.4


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