test/vhost: re-enable vhost scsi resets

Change-Id: I321546e27d217544cb97c694c8471a3eb05e15e6
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/368639
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Karol Latecki 2017-07-08 12:26:37 +02:00 committed by Daniel Verkamp
parent 36fb7fcd23
commit 752a4576de

View File

@ -262,7 +262,7 @@ for vm_num in $used_vms; do
if [[ "$test_type" == "spdk_vhost_scsi" ]]; then
vm_check_scsi_location $vm_num
# vm_reset_scsi_devices $vm_num $SCSI_DISK
vm_reset_scsi_devices $vm_num $SCSI_DISK
elif [[ "$test_type" == "spdk_vhost_blk" ]]; then
vm_check_blk_location $vm_num
fi
@ -290,11 +290,11 @@ fi
$run_fio
#if [[ "$test_type" == "spdk_vhost_scsi" ]]; then
# for vm_num in $used_vms; do
# vm_reset_scsi_devices $vm_num $SCSI_DISK
# done
#fi
if [[ "$test_type" == "spdk_vhost_scsi" ]]; then
for vm_num in $used_vms; do
vm_reset_scsi_devices $vm_num $SCSI_DISK
done
fi
if ! $no_shutdown; then
echo "==============="