doc/vhost.md: update the RPC method for remove_vhost_scsi_target

Method "remove_vhost_scsi_dev" changes to "remove_vhost_scsi_target".

Change-Id: I1e368c7cf2b16accd3431100e384c1d868e04a47
Signed-off-by: Chen Wang <chenx.wang@intel.com>
Reviewed-on: https://review.gerrithub.io/413873
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Chen Wang 2018-06-06 09:11:14 +08:00 committed by Daniel Verkamp
parent c796b90747
commit 86637cae4f

View File

@ -163,7 +163,7 @@ scripts/rpc.py add_vhost_scsi_lun vhost.0 0 Malloc0
To remove a bdev from a vhost-scsi controller use the following RPC: To remove a bdev from a vhost-scsi controller use the following RPC:
~~~{.sh} ~~~{.sh}
scripts/rpc.py remove_vhost_scsi_dev vhost.0 0 scripts/rpc.py remove_vhost_scsi_target vhost.0 0
~~~ ~~~
### Vhost-BLK ### Vhost-BLK
@ -401,7 +401,7 @@ Just like hot-attach, the hot-detach is done by simply removing bdev from a cont
when QEMU VM is already started. when QEMU VM is already started.
~~~{.sh} ~~~{.sh}
scripts/rpc.py remove_vhost_scsi_dev vhost.0 0 scripts/rpc.py remove_vhost_scsi_target vhost.0 0
~~~ ~~~
Removing an entire bdev will hot-detach it from a controller as well. Removing an entire bdev will hot-detach it from a controller as well.