aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/238
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/238')
-rwxr-xr-xtests/qemu-iotests/2385
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/qemu-iotests/238 b/tests/qemu-iotests/238
index 08bc7e6b4b..e5ac2b2ff8 100755
--- a/tests/qemu-iotests/238
+++ b/tests/qemu-iotests/238
@@ -23,10 +23,7 @@ import os
import iotests
from iotests import log
-if iotests.qemu_default_machine == 's390-ccw-virtio':
- virtio_scsi_device = 'virtio-scsi-ccw'
-else:
- virtio_scsi_device = 'virtio-scsi-pci'
+virtio_scsi_device = iotests.get_virtio_scsi_device()
vm = iotests.VM()
vm.launch()