On Thu, Mar 22, 2018 at 07:31:41PM +0100, Peter Krempa wrote:
The JSON array was processed to the hash table used by the query apis
in
the monitor code. Move it to a new helper in qemu_qapi.c.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_capabilities.c | 9 ++++++--
src/qemu/qemu_monitor.c | 2 +-
src/qemu/qemu_monitor.h | 2 +-
src/qemu/qemu_monitor_json.c | 41 +++++-------------------------------
src/qemu/qemu_monitor_json.h | 2 +-
src/qemu/qemu_qapi.c | 50 ++++++++++++++++++++++++++++++++++++++++++++
src/qemu/qemu_qapi.h | 4 ++++
7 files changed, 69 insertions(+), 41 deletions(-)
ACK
Jan