iotests: Create VM.blockdev_create()
authorKevin Wolf <kwolf@redhat.com>
Mon, 16 Dec 2019 16:53:41 +0000 (17:53 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 Dec 2019 13:32:43 +0000 (14:32 +0100)
commite9dbd1cae86f7cb6f8e470e1485aeb0c6e23ae64
tree15f600476779a859e33cd5d32673d955cc557b15
parent66be5c3e7825cab861b3d68e87851a4ac9ff8c3d
iotests: Create VM.blockdev_create()

We have several almost identical copies of a blockdev_create() function
in different test cases. Time to create one unified function in
iotests.py.

To keep the diff managable, this patch only creates the function and
follow-up patches will convert the individual test cases.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py