aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/200
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-01-17 14:50:15 +0100
committerJeff Cody <jcody@redhat.com>2018-01-31 22:37:00 -0500
commit45a79646ea746fa3f32083d0aa70512aae29f6b3 (patch)
treefb7e6eecf74087e5d53f36a13efda624384f9489 /tests/qemu-iotests/200
parentfbd5c4c0db47e578e3fdd88a0ebc4314a1ed3d42 (diff)
iotests: Make 200 run on tmpfs
200 currently fails on tmpfs because it sets cache=none. However, without that (and aio=native), the test still works now and it fails before Jeff's series (on fc7dbc119e0852a70dc9fa68bb41a318e49e4cd6). So we can probably remove the aio=native safely, and replace cache=none by cache=$CACHEMODE. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Message-id: 20180117135015.15051-1-mreitz@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/200')
-rwxr-xr-xtests/qemu-iotests/2002
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/200 b/tests/qemu-iotests/200
index d8787ddb46..ddbdedc476 100755
--- a/tests/qemu-iotests/200
+++ b/tests/qemu-iotests/200
@@ -60,7 +60,7 @@ qemu_comm_method="qmp"
_launch_qemu -device pci-bridge,id=bridge1,chassis_nr=1,bus=pci.0 \
-object iothread,id=iothread0 \
-device virtio-scsi-pci,bus=bridge1,addr=0x1f,id=scsi0,iothread=iothread0 \
- -drive file="${TEST_IMG}",media=disk,if=none,cache=none,id=drive_sysdisk,aio=native,format=$IMGFMT \
+ -drive file="${TEST_IMG}",media=disk,if=none,cache=$CACHEMODE,id=drive_sysdisk,format=$IMGFMT \
-device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0
h1=$QEMU_HANDLE