On Mon, Nov 21, 2016 at 10:51:29AM +0100, Jiri Denemark wrote:
Whenever qemuMonitorJSONCheckError returns 0, the "return"
object is
guaranteed to exist. Thus virJSONValueObjectGetObject will never fail to
get it. On the other hand, virJSONValueObjectGetArray may fail since the
"return" object may not be an array.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/qemu/qemu_monitor_json.c | 160 ++++++++-----------------------------------
1 file changed, 30 insertions(+), 130 deletions(-)
ACK
Jan