iotests: Add qemu_io_log()
commita96f0350e3d95c98f2bff1863d14493af5c1d360
authorKevin Wolf <kwolf@redhat.com>
Tue, 19 Nov 2019 17:36:09 +0000 (19 18:36 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 18 Dec 2019 10:21:16 +0000 (18 11:21 +0100)
treeb2750a1d531840a546d3d0f616e0e49b4a464c86
parent3b65081638c68be1c6ed08635c8acd99f32320ac
iotests: Add qemu_io_log()

Add a function that runs qemu-io and logs the output with the
appropriate filters applied.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/iotests.py