]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Extract internals of qemuMonitorJSONBlockGetNamedNodeData
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Dec 2019 06:46:53 +0000 (07:46 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Dec 2019 12:22:55 +0000 (13:22 +0100)
commit7a185d2f6e8cac26c305900b14bfde3ce6dae68c
treece3460bbc13c4ea78e6293733ffd522bb772770a
parentfdb22e4e43bd72b53a6f1f5a0d95d7c8d9082720
qemu: monitor: Extract internals of qemuMonitorJSONBlockGetNamedNodeData

For testing purposes it will be beneficial to be able to parse the data
from JSON directly rather than trying to simulate the monitor. Extract
the worker bits and export them.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h