This is just a cleanup. There's no need to hotplug or hotremove SCSI targets from stopped sessions, because those sessions can't access any targets anyway. When session is started, it already inherits all SCSI targets from the vhost device. When it's stopped, it releases resources of all targets. Intermediate changes have no effect whatsoever, so don't do them. Change-Id: Ibf283bcf8260e71dec8d9ea39a9461a978031ab3 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449392 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
rte_vhost_compat.c | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_nvme.c | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |