aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-03-27 10:23:42 +0100
committerKevin Wolf <kwolf@redhat.com>2019-04-02 12:04:56 +0200
commitf18957b854495129f2e8d6838df3bf47d1c1479c (patch)
tree086dd7ce486e1919f272982b5f620790c16f7851 /tests
parentd20ba603f2d1462f7c39c6aa1f7e0968a18fda0c (diff)
downloadqemu-f18957b854495129f2e8d6838df3bf47d1c1479c.zip
qemu-f18957b854495129f2e8d6838df3bf47d1c1479c.tar.gz
qemu-f18957b854495129f2e8d6838df3bf47d1c1479c.tar.bz2
tests/qemu-iotests/235: Allow fallback to tcg
iotest 235 currently only works with KVM - this is bad for systems where it is not available, e.g. CI pipelines. The test also works when using "tcg" as accelerator, so we can simply add that to the list of accelerators, too. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/2352
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/235 b/tests/qemu-iotests/235
index 75c203b..2b6a8c1 100755
--- a/tests/qemu-iotests/235
+++ b/tests/qemu-iotests/235
@@ -49,7 +49,7 @@ qemu_img_create('-f', iotests.imgfmt, '-o', 'preallocation=metadata', disk,
str(size))
vm = QEMUMachine(iotests.qemu_prog)
-vm.add_args('-machine', 'accel=kvm')
+vm.add_args('-machine', 'accel=kvm:tcg')
if iotests.qemu_default_machine == 's390-ccw-virtio':
vm.add_args('-no-shutdown')
vm.add_args('-drive', 'id=src,file=' + disk)