Spdk/test/vfio_user/common.sh
Changpeng Liu 48fb1771ef test/vfio_user: remove unnecessary VFIO_QEMU_BIN default value
The QEMU binary is configured in the CI configuration file, so
we don't need to set it in the script now.

Change-Id: I6d0f4092f7a15bda5718f60c9a3b42f7127a9807
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15913
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2023-01-09 14:49:35 +00:00

18 lines
382 B
Bash

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (C) 2021 Intel Corporation
# All rights reserved.
#
: ${MALLOC_BDEV_SIZE=256}
: ${MALLOC_BLOCK_SIZE=512}
source "$rootdir/test/vhost/common.sh"
# Verify vfio-user support of qemu.
if [[ ! -e $VFIO_QEMU_BIN ]]; then
error "$VFIO_QEMU_BIN QEMU not found, cannot run the vfio-user tests"
return 1
fi
QEMU_BIN=$VFIO_QEMU_BIN