test/config: add some comments to vm_setup
Just clarifying why and where some packages are used. Change-Id: I36f17856a76ed1eb3d88054da2692beee9e569f2 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/418230 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
095f355bf3
commit
5b072d3739
@ -115,6 +115,7 @@ fi
|
||||
|
||||
cd ~
|
||||
|
||||
# rxe_cfg is used in the NVMe-oF tests
|
||||
# The librxe-dev repository provides a command line tool called rxe_cfg which makes it
|
||||
# very easy to use Soft-RoCE. The build pool utilizes this command line tool in the absence
|
||||
# of any real RDMA NICs to simulate one for the NVMe-oF tests.
|
||||
@ -131,6 +132,7 @@ else
|
||||
cd ~
|
||||
fi
|
||||
|
||||
# iscsiadm is used in the iscsi_tgt tests
|
||||
# The version of iscsiadm that ships with fedora 26 was broken as of November 3 2017.
|
||||
# There is already a bug report out about it, and hopefully it is fixed soon, but in the event that
|
||||
# that version is still broken when you do your setup, the below steps will fix the issue.
|
||||
@ -177,6 +179,9 @@ else
|
||||
sudo git -C /usr/src/rocksdb checkout spdk-v5.6.1
|
||||
echo "rocksdb already in /usr/src. Not checking out again"
|
||||
fi
|
||||
|
||||
# This version of fio is installed in /usr/src/fio to enable
|
||||
# building the spdk fio plugin.
|
||||
if [ ! -d /usr/src/fio ]; then
|
||||
if [ ! -d fio ]; then
|
||||
git clone http://git.kernel.dk/fio.git
|
||||
@ -197,6 +202,7 @@ else
|
||||
fi
|
||||
cd ~
|
||||
|
||||
# Flamegraph is used when printing out timing graphs for the tests.
|
||||
if [ ! -d /usr/local/FlameGraph ]; then
|
||||
git clone https://github.com/brendangregg/FlameGraph.git
|
||||
mkdir -p /usr/local
|
||||
@ -204,6 +210,8 @@ if [ ! -d /usr/local/FlameGraph ]; then
|
||||
else
|
||||
echo "flamegraph already installed. Skipping"
|
||||
fi
|
||||
|
||||
# Qemu is used in the vhost tests.
|
||||
SPDK_QEMU_BRANCH=spdk-2.12-pre
|
||||
mkdir -p qemu
|
||||
cd qemu
|
||||
@ -213,6 +221,9 @@ else
|
||||
echo "qemu already checked out. Skipping"
|
||||
fi
|
||||
cd "$SPDK_QEMU_BRANCH"
|
||||
|
||||
# Most tsocks proxies rely on a configuration file in /etc/tsocks.conf.
|
||||
# If using tsocks, please make sure to complete this config before trying to build qemu.
|
||||
if hash tsocks 2> /dev/null; then
|
||||
git_param="--with-git='tsocks git'"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user