aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/147
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/147
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/147')
-rwxr-xr-xtests/qemu-iotests/1475
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/qemu-iotests/147 b/tests/qemu-iotests/147
index 03fc2fa..2b6f859 100755
--- a/tests/qemu-iotests/147
+++ b/tests/qemu-iotests/147
@@ -24,7 +24,7 @@ import socket
import stat
import time
import iotests
-from iotests import cachemode, imgfmt, qemu_img, qemu_nbd, qemu_nbd_early_pipe
+from iotests import cachemode, aiomode, imgfmt, qemu_img, qemu_nbd, qemu_nbd_early_pipe
NBD_PORT_START = 32768
NBD_PORT_END = NBD_PORT_START + 1024
@@ -134,7 +134,8 @@ class BuiltinNBD(NBDBlockdevAddBase):
self.server.add_drive_raw('if=none,id=nbd-export,' +
'file=%s,' % test_img +
'format=%s,' % imgfmt +
- 'cache=%s' % cachemode)
+ 'cache=%s' % cachemode +
+ 'aio=%s' % aiomode)
self.server.launch()
def tearDown(self):