2021-10-29 07:24:39 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-11-02 15:49:40 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright (C) 2021 Intel Corporation
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
2021-10-29 07:24:39 +00:00
|
|
|
testdir=$(readlink -f $(dirname $0))
|
|
|
|
rootdir=$(readlink -f $testdir/../..)
|
|
|
|
source $rootdir/test/common/autotest_common.sh
|
|
|
|
source $rootdir/test/vfio_user/common.sh
|
|
|
|
|
|
|
|
echo "Running SPDK vfio-user fio autotest..."
|
|
|
|
|
|
|
|
vhosttestinit
|
|
|
|
|
2022-09-23 05:42:22 +00:00
|
|
|
run_test "vfio_user_nvme_fio" $WORKDIR/nvme/vfio_user_fio.sh
|
|
|
|
run_test "vfio_user_nvme_restart_vm" $WORKDIR/nvme/vfio_user_restart_vm.sh
|
2022-09-23 06:37:44 +00:00
|
|
|
run_test "vfio_user_virtio_blk_restart_vm" $WORKDIR/virtio/fio_restart_vm.sh virtio_blk
|
|
|
|
run_test "vfio_user_virtio_scsi_restart_vm" $WORKDIR/virtio/fio_restart_vm.sh virtio_scsi
|
2021-10-29 07:24:39 +00:00
|
|
|
|
|
|
|
vhosttestfini
|