Skip to content

Commit

Permalink
vioscsi: Enable flush test
Browse files Browse the repository at this point in the history
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
  • Loading branch information
kostyanf14 committed Oct 3, 2024
1 parent 54d73fa commit 68ea147
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/engines/hcktest/drivers/vioscsi.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
}
],
"reject_test_names": [
"Flush Test",
"DF - Embedded Signature Verification Test (Certification)",
"DF - Embedded Signature Verification Test (Tuning and Validation)",
"Storage HBA Firmware Update",
Expand Down
15 changes: 15 additions & 0 deletions lib/engines/hcktest/hcktest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@
"value": 0
}
]
},
{
"tests": [
"Flush Test"
],
"parameters": [
{
"name": "IP",
"value": "192.168.100.100"
},
{
"name": "Outlet",
"value": "161"
}
]
}
]
}
11 changes: 10 additions & 1 deletion lib/setupmanagers/qemuhck/devices/virtio-scsi-pci.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"name": "virtio-scsi-pci",
"type": "storage",
"define_variables": {
"@scsi_qmp_socket@": "scsi_qmp_@run_id@_@client_id@_sock"
},
"pre_start_commands": [
"rm -vf @scsi_qmp_socket@",
"@source@/bin/fake-snmp-reset @scsi_qmp_socket@ &"
],
"command_line": [
"-drive file=@image_path@,if=none,format=@image_format@,id=virtio_scsi_@run_id@_@client_id@@drive_cache_options@",
"-device virtio-scsi-pci@device_extra_param@@iommu_device_param@,id=scsi,bus=@[email protected]",
"-device scsi-hd,drive=virtio_scsi_@run_id@_@client_id@,serial=@client_id@scsi@run_id@@bootindex@"
"-device scsi-hd,drive=virtio_scsi_@run_id@_@client_id@,serial=@client_id@scsi@run_id@@bootindex@",
"-chardev socket,id=scsi_qmp,path=@scsi_qmp_socket@,server=on,wait=off",
"-mon chardev=scsi_qmp,mode=control"
]
}

0 comments on commit 68ea147

Please sign in to comment.