aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/201
diff options
context:
space:
mode:
authorAarushi Mehta <mehta.aaru20@gmail.com>2020-01-20 14:18:58 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2020-01-30 21:01:40 +0000
commit8dff69b9415b4287e900358744b732195e1ab2e2 (patch)
tree77408fb96ad9559a1a21bb84df23f2527e603192 /tests/qemu-iotests/201
parent7156ca4888fae02ced9dd83342d06ded0de420c6 (diff)
downloadqemu-8dff69b9415b4287e900358744b732195e1ab2e2.zip
qemu-8dff69b9415b4287e900358744b732195e1ab2e2.tar.gz
qemu-8dff69b9415b4287e900358744b732195e1ab2e2.tar.bz2
tests/qemu-iotests: use AIOMODE with various tests
Signed-off-by: Aarushi Mehta <mehta.aaru20@gmail.com> Acked-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20200120141858.587874-16-stefanha@redhat.com Message-Id: <20200120141858.587874-16-stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/201')
-rwxr-xr-xtests/qemu-iotests/2018
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/qemu-iotests/201 b/tests/qemu-iotests/201
index 133ba9f..483eb18 100755
--- a/tests/qemu-iotests/201
+++ b/tests/qemu-iotests/201
@@ -58,20 +58,20 @@ qemu_comm_method="monitor"
if [ "$IMGOPTSSYNTAX" = "true" ]; then
_launch_qemu \
- -drive "${TEST_IMG}",cache=${CACHEMODE},id=disk
+ -drive "${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,id=disk
else
_launch_qemu \
- -drive file="${TEST_IMG}",cache=${CACHEMODE},driver=$IMGFMT,id=disk
+ -drive file="${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,driver=$IMGFMT,id=disk
fi
src=$QEMU_HANDLE
if [ "$IMGOPTSSYNTAX" = "true" ]; then
_launch_qemu \
- -drive "${TEST_IMG}",cache=${CACHEMODE},id=disk \
+ -drive "${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,id=disk \
-incoming "unix:${MIG_SOCKET}"
else
_launch_qemu \
- -drive file="${TEST_IMG}",cache=${CACHEMODE},driver=$IMGFMT,id=disk \
+ -drive file="${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,driver=$IMGFMT,id=disk \
-incoming "unix:${MIG_SOCKET}"
fi
dest=$QEMU_HANDLE