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>
18 lines
382 B
Bash
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
|