Skip to content

Commit a1a7f56

Browse files
Vladimir Sementsov-Ogievskiyebblake
authored andcommitted
iotests: QemuIoInteractive: use qemu_io_args_no_fmt
The only user (iotest 205) of QemuIoInteractive provides -f argument, so it's a bit inefficient to use qemu_io_args, which contains -f too. And we are going to add one more test, which wants to specify -f by hand. Let's use qemu_io_args_no_fmt. Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]> Reviewed-by: Eric Blake <[email protected]> Message-Id: <[email protected]> Signed-off-by: Eric Blake <[email protected]>
1 parent 8cf58a4 commit a1a7f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/qemu-iotests/iotests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def get_virtio_scsi_device():
212212

213213
class QemuIoInteractive:
214214
def __init__(self, *args):
215-
self.args = qemu_io_args + list(args)
215+
self.args = qemu_io_args_no_fmt + list(args)
216216
self._p = subprocess.Popen(self.args, stdin=subprocess.PIPE,
217217
stdout=subprocess.PIPE,
218218
stderr=subprocess.STDOUT,

0 commit comments

Comments
 (0)