test/vhost: Remove vhost configuration file from initiator test
Use RPC instead Change-Id: Iaab3d989b7efa687dd8aa1f9fea3ba720499b658 Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com> Reviewed-on: https://review.gerrithub.io/411463 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
14edf49a70
commit
c2b1de2ea6
@ -62,6 +62,8 @@ function create_bdev_config()
|
|||||||
error "Nvme0n1 bdev not found!"
|
error "Nvme0n1 bdev not found!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$RPC_PY construct_split_vbdev Nvme0n1 6
|
||||||
|
|
||||||
$RPC_PY construct_vhost_scsi_controller naa.Nvme0n1_scsi0.0
|
$RPC_PY construct_vhost_scsi_controller naa.Nvme0n1_scsi0.0
|
||||||
$RPC_PY add_vhost_scsi_lun naa.Nvme0n1_scsi0.0 0 Nvme0n1p0
|
$RPC_PY add_vhost_scsi_lun naa.Nvme0n1_scsi0.0 0 Nvme0n1p0
|
||||||
$RPC_PY add_vhost_scsi_lun naa.Nvme0n1_scsi0.0 1 Nvme0n1p1
|
$RPC_PY add_vhost_scsi_lun naa.Nvme0n1_scsi0.0 1 Nvme0n1p1
|
||||||
@ -86,7 +88,7 @@ function create_bdev_config()
|
|||||||
}
|
}
|
||||||
|
|
||||||
timing_enter spdk_vhost_run
|
timing_enter spdk_vhost_run
|
||||||
spdk_vhost_run --conf-path=$INITIATOR_DIR
|
spdk_vhost_run
|
||||||
timing_exit spdk_vhost_run
|
timing_exit spdk_vhost_run
|
||||||
|
|
||||||
timing_enter create_bdev_config
|
timing_enter create_bdev_config
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
[Ioat]
|
|
||||||
Disable Yes
|
|
||||||
|
|
||||||
[Split]
|
|
||||||
Split Nvme0n1 6
|
|
Loading…
Reference in New Issue
Block a user