
On Wed, Aug 24, 2016 at 09:35:18AM -0400, Peter Krempa wrote:
Prepare to extract more data by returning a array of structs rather than *an array
just an array of thread ids. Additionally report fatal errors separately from qemu not being able to produce data. ---
Notes: v3: - fixed uninitialized variable in tests v2: - initialized ncpus in qemuMonitorTextQueryCPUs - fixed return value on alloc fail
src/qemu/qemu_monitor.c | 31 ++++++++++++------ src/qemu/qemu_monitor.h | 6 ++++ src/qemu/qemu_monitor_json.c | 77 +++++++++++++++++++++++--------------------- src/qemu/qemu_monitor_json.h | 3 +- src/qemu/qemu_monitor_text.c | 41 +++++++++++------------ src/qemu/qemu_monitor_text.h | 3 +- tests/qemumonitorjsontest.c | 39 +++++++++++++++------- 7 files changed, 121 insertions(+), 79 deletions(-)
ACK Jan