diff --git a/test/vhost/spdk_vhost.sh b/test/vhost/spdk_vhost.sh index 9fc1806d9..e0bafbc78 100755 --- a/test/vhost/spdk_vhost.sh +++ b/test/vhost/spdk_vhost.sh @@ -2,6 +2,11 @@ set -e +if [ ! -f "/home/sys_sgsw/vhost_scsi_vm_image.qcow2" ]; then + echo "VM does not exist, exiting vhost tests without running" + exit 0 +fi + WORKDIR=$(dirname $0) cd $WORKDIR