OSDN Git Service

qemu-iotests: Add VM.qmp_log()
authorKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 16:17:45 +0000 (18:17 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 May 2018 11:31:12 +0000 (13:31 +0200)
commite234398a8e142fd0cfe571f7efb0e6a2f34fe73d
treea7cebc92492f4c89669e19ad68686431349c8fd9
parent5ad1dbf76a97b6f07d685585175832e990fe9a92
qemu-iotests: Add VM.qmp_log()

This adds a helper function that logs both the QMP request and the
received response before returning it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/iotests.py