test: fix uses of deprecated RPCs
We tried to change all of these when updating the RPC names, but there were some that were missed apparently. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I1b27d658bb039f201ca003b1d9005e7cfa8c45c2 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473340 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
2be2b6eba5
commit
08a71404a2
@ -16,7 +16,7 @@ nvmfappstart "-m 0xF"
|
||||
|
||||
trap 'process_shm --id $NVMF_APP_SHM_ID; killprocess $nvmfpid; nvmftestfini $1; exit 1' SIGINT SIGTERM EXIT
|
||||
|
||||
$rpc_py construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE -b Malloc0
|
||||
$rpc_py bdev_malloc_create $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE -b Malloc0
|
||||
|
||||
# We cannot configure the bdev with an incredibly high latency up front because connect will not work properly.
|
||||
$rpc_py bdev_delay_create -b Malloc0 -d Delay0 -r 30 -t 30 -w 30 -n 30
|
||||
|
@ -20,12 +20,12 @@ trap "at_app_exit; process_shm --id 0; exit 1" SIGINT SIGTERM EXIT
|
||||
vhost_run vhost0 "-m 0x1"
|
||||
|
||||
# Create vhost scsi controller
|
||||
vhost_rpc vhost0 construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE -b Malloc0
|
||||
vhost_rpc vhost0 bdev_malloc_create $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE -b Malloc0
|
||||
vhost_rpc vhost0 vhost_create_scsi_controller naa.VhostScsi0.0
|
||||
vhost_rpc vhost0 vhost_scsi_controller_add_target naa.VhostScsi0.0 0 "Malloc0"
|
||||
|
||||
# Create vhost blk controller
|
||||
vhost_rpc vhost0 construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE -b Malloc1
|
||||
vhost_rpc vhost0 bdev_malloc_create $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE -b Malloc1
|
||||
vhost_rpc vhost0 vhost_create_blk_controller naa.Malloc1.1 Malloc1
|
||||
|
||||
# Start qemu based VMs
|
||||
|
Loading…
Reference in New Issue
Block a user