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:
parent
c796b90747
commit
86637cae4f
@ -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:
|
||||
|
||||
~~~{.sh}
|
||||
scripts/rpc.py remove_vhost_scsi_dev vhost.0 0
|
||||
scripts/rpc.py remove_vhost_scsi_target vhost.0 0
|
||||
~~~
|
||||
|
||||
### 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.
|
||||
|
||||
~~~{.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.
|
||||
|
Loading…
Reference in New Issue
Block a user