Commit 9132128f authored by Ben Walker's avatar Ben Walker Committed by Jim Harris
Browse files

test/vhost: Rename spdk_vhost_run to vhost_run



We typically don't prefix bash functions with spdk.

Change-Id: Icda57e42acb83f4aa51731ac62f8db7ee26e658a
Signed-off-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456700


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 86f38e70
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ function spdk_vhost_list_all()
	fi
}

function spdk_vhost_run()
function vhost_run()
{
	local param
	local vhost_num=0
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ if [[ $test_type =~ "spdk_vhost" ]]; then
	notice ""
	notice "running SPDK"
	notice ""
	spdk_vhost_run --json-path=$testdir
	vhost_run --json-path=$testdir
	notice ""
fi

+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ notice "==============="
notice ""
notice "running SPDK"
notice ""
spdk_vhost_run
vhost_run
$rpc_py set_bdev_nvme_hotplug -e
$rpc_py construct_split_vbdev Nvme0n1 16
$rpc_py construct_malloc_bdev 128 512 -b Malloc
+3 −3
Original line number Diff line number Diff line
@@ -115,9 +115,9 @@ function create_bdev_config()
	 | join(":")' <<< $vbdevs)
}

timing_enter spdk_vhost_run
spdk_vhost_run
timing_exit spdk_vhost_run
timing_enter vhost_run
vhost_run
timing_exit vhost_run

timing_enter create_bdev_config
create_bdev_config
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ trap 'error_exit "${FUNCNAME}" "${LINENO}"' SIGTERM SIGABRT ERR
vm_kill_all

notice "Starting SPDK vhost"
spdk_vhost_run
vhost_run
notice "..."

# Set up lvols and vhost controllers
Loading