commit | 0c460dac03e7919079525d8e24ef2c4c607c219d | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Wed Oct 30 14:54:33 2013 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Thu Nov 07 13:58:53 2013 +0100 |
tree | c3c0aea2eb9fb82e6624a149604116f93983cdbc | |
parent | 0d1aa05e9eba2437fdcdfbaa846c850c986bf7c6 [diff] |
libqtest: add qmp(fmt, ...) -> QDict* function Add a qtest qmp() function that returns the response object. This allows test cases to verify the result or to check for error responses. It also allows waiting for QMP events. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de>