Spdk/test/vhost
Michal Berger 196978565e test/vhost: Make sure all TCP ports allocated for QEMU are available
This may become problematic in case of bigger number of VMs. In
particular, it was noticed that the vnc port may overlap with ssh's
X forwarding ports (starting at 6010). To make sure QEMU does not
fail while attempting to bind to already existing port, we first
check if target port is in use.

Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: I525aa2a1cc52c6aa1d8d4ade8924ad684fe8af50
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16337
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2023-05-09 17:58:11 +08:00
..
common test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
fio add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
fiotest add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
fuzz add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
hotplug add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
initiator add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
integrity test/vhost: Use --force for all mkfs and wipefs calls 2023-03-27 10:48:46 +00:00
lvol add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
migration misc: Fixes targeted for latest shellcheck 2023-01-16 09:45:23 +00:00
other test/vhost: add virtio blk transport negative test 2023-03-24 14:32:05 +00:00
perf_bench test/vhost: Add perf collection support 2023-05-09 17:58:11 +08:00
readonly add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
shared add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
vhost_boot test/vhost_boot: Use string to check for disk device 2022-12-06 08:40:46 +00:00
windows add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
common.sh test/vhost: Make sure all TCP ports allocated for QEMU are available 2023-05-09 17:58:11 +08:00
irqs.sh test/vhost: Add helper functions for extracting IRQ data 2023-05-09 17:58:11 +08:00
manual.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
parse_irqs.sh test/vhost: Gather IRQ stats from the VM 2023-05-09 17:58:11 +08:00
vhost.sh autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00