diff --git a/test/nvmf/target/initiator_timeout.sh b/test/nvmf/target/initiator_timeout.sh index f74109adf..f86d221ac 100755 --- a/test/nvmf/target/initiator_timeout.sh +++ b/test/nvmf/target/initiator_timeout.sh @@ -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 diff --git a/test/vhost/fio/fio.sh b/test/vhost/fio/fio.sh index c468babff..3d8bf6092 100755 --- a/test/vhost/fio/fio.sh +++ b/test/vhost/fio/fio.sh @@ -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