Few of the patches needed more significant changes.
Peter Krempa (3):
internal: Introduce macro for stealing pointers
qemu: monitor: Return structures from qemuMonitorGetCPUInfo
qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs
src/internal.h | 12 +++++++
src/qemu/qemu_domain.c | 25 ++++++--------
src/qemu/qemu_monitor.c | 70 ++++++++++++++++++++++++++++++++++++----
src/qemu/qemu_monitor.h | 19 ++++++++++-
src/qemu/qemu_monitor_json.c | 77 +++++++++++++++++++++++---------------------
src/qemu/qemu_monitor_json.h | 3 +-
src/qemu/qemu_monitor_text.c | 39 +++++++++++-----------
src/qemu/qemu_monitor_text.h | 3 +-
tests/qemumonitorjsontest.c | 39 +++++++++++++++-------
9 files changed, 194 insertions(+), 93 deletions(-)
--
2.9.2