Tests 235 and 238 do not require the kvm accelerator. TCG works fine. Use the default accelerator instead of requiring kvm.
Suggested-by: Thomas Huth <th...@redhat.com> Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> --- tests/qemu-iotests/235 | 1 - tests/qemu-iotests/238 | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/qemu-iotests/235 b/tests/qemu-iotests/235 index d6edd97ab4..329da8f0c2 100755 --- a/tests/qemu-iotests/235 +++ b/tests/qemu-iotests/235 @@ -49,7 +49,6 @@ qemu_img_create('-f', iotests.imgfmt, '-o', 'preallocation=metadata', disk, str(size)) vm = QEMUMachine(iotests.qemu_prog) -vm.add_args('-machine', 'accel=kvm') if iotests.qemu_default_machine == 's390-ccw-virtio': vm.add_args('-no-shutdown') vm.add_args('-drive', 'id=src,file=' + disk) diff --git a/tests/qemu-iotests/238 b/tests/qemu-iotests/238 index f81ee1112f..e490bb4298 100755 --- a/tests/qemu-iotests/238 +++ b/tests/qemu-iotests/238 @@ -33,7 +33,6 @@ else: virtio_scsi_device = 'virtio-scsi-pci' vm = QEMUMachine(iotests.qemu_prog) -vm.add_args('-machine', 'accel=kvm') vm.launch() log(vm.qmp('blockdev-add', node_name='hd0', driver='null-co')) -- 2.20.1