提交 0ec42db3 编写于 作者: L Lukáš Doktor 提交者: Lucas Meneghel Rodrigues

qemu.tests.multi_disk: Tweak the config file of virtio_scsi_variants

Use the unified configs (scsiid=>unit, lun=>port) and store the images
in the usual location. The location '/tmp/%s' was used before because
python was unable to execute that long command and this prefix shorten
it significantly. Now autotest supports the way to deal with long
commands so we can finally store the images in the right location.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 72a7d23a
......@@ -50,7 +50,6 @@
usb_type_default-ehci = usb-ehci
- virtio_scsi_variants:
# Decrease length of the command
stg_image_name = '/tmp/%s'
stg_image_size = 1M
stg_params = "drive_format:scsi-disk "
variants:
......@@ -71,14 +70,14 @@
stg_params += "drive_format:scsi-generic "
stg_params += "image_name:/dev/sg* "
- multi_lun:
stg_params += "drive_lun:range(0,16383,63) "
stg_params += "drive_port:range(0,16383,63) "
- multi_scsiid_lun:
stg_params += "drive_scsiid:range(0,255,1,3) "
stg_params += "drive_lun:range(0,16383,8191) "
stg_params += "drive_unit:range(0,255,1,3) "
stg_params += "drive_port:range(0,16383,8191) "
- multi_bus_scsiid_lun:
stg_params += "drive_bus:range(0,15,1,9) "
stg_params += "drive_scsiid:range(0,255,127,3) "
stg_params += "drive_lun:range(0,16383,8191) "
stg_params += "drive_unit:range(0,255,127,3) "
stg_params += "drive_port:range(0,16383,8191) "
- debug_params:
# Remove this to execute this test-params-devel test
no multi_disk
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册