]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemumonitortestutils: Improve error reporting from mock qemu monitor
authorPeter Krempa <pkrempa@redhat.com>
Mon, 29 Jul 2013 12:29:15 +0000 (14:29 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 31 Jul 2013 12:25:43 +0000 (14:25 +0200)
commit69441df4d09a6715387135d61f14f012d1d29dfa
tree02013f57b7d6a7e3fca6496f8ab5600e4e525e60
parent659fe6d2dbd74ce87ca5e93547ad3089fde4a9ee
qemumonitortestutils: Improve error reporting from mock qemu monitor

Use the JSON error messages to report errors back to the caller in
addition to erroring out. The error reported from the event loop from
the mock function of the monitor was later overwritten by the call to
the monitor/agent interaction API. This will also allow testing of error
reporting.
tests/qemumonitortestutils.c
tests/qemumonitortestutils.h