mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
iotests: Add virtio-scsi device helper
Seems that it comes up enough. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 20190709232550.10724-17-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
de263986b5
commit
f357576fa9
5 changed files with 10 additions and 18 deletions
|
|
@ -164,6 +164,10 @@ def qemu_io_silent(*args):
|
|||
(-exitcode, ' '.join(args)))
|
||||
return exitcode
|
||||
|
||||
def get_virtio_scsi_device():
|
||||
if qemu_default_machine == 's390-ccw-virtio':
|
||||
return 'virtio-scsi-ccw'
|
||||
return 'virtio-scsi-pci'
|
||||
|
||||
class QemuIoInteractive:
|
||||
def __init__(self, *args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue