]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/iotests.py
iotests: More options for VM.add_drive()
authorMax Reitz <mreitz@redhat.com>
Wed, 2 Sep 2015 18:52:25 +0000 (20:52 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Sep 2015 18:59:48 +0000 (20:59 +0200)
commit8e4922535b6479c7a2fa6b14b0148c6ae4fcc003
tree412dddf1eab20d5c1a632a1b529a4abdb37c1d45
parente814dffcc9810ed77fe99081be9751b620a894c4
iotests: More options for VM.add_drive()

This patch allows specifying the interface to be used for the drive, and
makes specifying a path optional (if the path is None, the "file" option
will be omitted, thus creating an empty drive).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py