diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-10-08 15:34:33 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-10-15 16:06:23 +0200 |
commit | af6400afb89f5eb3f66f841c8ee8c2f6754c8394 (patch) | |
tree | 3a6d932ad88739065cc8aa8cb1252708e0dbcc7e /tests/qemu-iotests/051 | |
parent | e2c8eb1454b6aee79077d6d9710ec92d66554e56 (diff) | |
download | qemu-af6400afb89f5eb3f66f841c8ee8c2f6754c8394.zip qemu-af6400afb89f5eb3f66f841c8ee8c2f6754c8394.tar.gz qemu-af6400afb89f5eb3f66f841c8ee8c2f6754c8394.tar.bz2 |
iotests/051: Fix typo
The iothread isn't called 'iothread0', but 'thread0'. Depending on the
order that properties are parsed, the error message may change from the
expected one to another one saying that the iothread doesn't exist.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20211008133442.141332-7-kwolf@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/051')
-rwxr-xr-x | tests/qemu-iotests/051 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051 index 7bf2934..1d2fa93 100755 --- a/tests/qemu-iotests/051 +++ b/tests/qemu-iotests/051 @@ -199,7 +199,7 @@ case "$QEMU_DEFAULT_MACHINE" in # virtio-blk enables the iothread only when the driver initialises the # device, so a second virtio-blk device can't be added even with the # same iothread. virtio-scsi allows this. - run_qemu $iothread -device virtio-blk-pci,drive=disk,iothread=iothread0,share-rw=on + run_qemu $iothread -device virtio-blk-pci,drive=disk,iothread=thread0,share-rw=on run_qemu $iothread -device virtio-scsi,id=virtio-scsi1,iothread=thread0 -device scsi-hd,bus=virtio-scsi1.0,drive=disk,share-rw=on ;; *) |