Spdk/test/vhost
Tomasz Zawadzki 1d839c1ac3 test/vhost: verify cpumask argument for controller creation
`--cpumask` argument for vhost controller creation was
untested. This patch specifies this argument and verifies output
under following conditions:
- no cpumask, resulting in it being equal to the app cpumask
- cpumask equal to app cpumask
- single core
- single non-main core
- two cores

It was motivated by recent changes to reactor code affecting
vhost without it being caught by CI. See commit 7cc83b62.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6211 (master)

(cherry picked from commit daab1abc4f)
Change-Id: I92c603061619092007bc27a189d3d8787461a16f
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6389
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-03-05 08:01:35 +00:00
..
common test/vhost: replace master_core with main_core 2020-12-03 09:41:07 +00:00
fio test: fix uses of deprecated RPCs 2019-11-07 22:55:38 +00:00
fiotest test: add packed ring test in blk device 2020-10-16 08:15:51 +00:00
fuzz check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
hotplug test/vhost: Fix traddr lookup 2020-12-28 13:17:20 +00:00
initiator test/vhost: verify cpumask argument for controller creation 2021-03-05 08:01:35 +00:00
integrity test/vhost: add -f for mkfs.btrfs command 2020-10-21 12:19:38 +00:00
lvol test/vhost: replace master_core with main_core 2020-12-03 09:41:07 +00:00
migration test/vhost: remove tests for live migration between different hosts 2020-11-26 10:15:12 +00:00
other test/vhost: verify cpumask argument for controller creation 2021-03-05 08:01:35 +00:00
perf_bench test/vhost_perf: set test block device scheduler to "none" 2021-01-21 14:40:28 +00:00
readonly check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
shared test/vhost: fix shared.sh test to run in vagrant box 2020-10-23 16:20:08 +00:00
vhost_boot test/vhost: Partition the VM drive more gracefully 2020-11-18 11:27:16 +00:00
windows test/vhost: remove windows filesystem test 2020-11-26 10:15:12 +00:00
common.sh test/vhost: Use basename of the vhost dir passed to vhost_kill 2020-11-18 11:27:16 +00:00
manual.sh Modifications for using universal qcow2 image in tests 2020-10-28 15:07:56 +00:00
vhost.sh test: add packed ring test in blk device 2020-10-16 08:15:51 +00:00