Spdk/lib/vhost
Darek Stojaczyk 4a51888953 vhost/scsi: don't hotplug targets to stopped sessions
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>
2019-03-29 20:19:12 +00:00
..
rte_vhost rte_vhost: introduce get/set vring base idx APIs 2019-02-27 01:43:16 +00:00
Makefile vhost: install external msg handling hooks to rte_vhost 2019-03-13 14:26:20 +00:00
rte_vhost_compat.c vhost/compat: implement SET/GET_CONFIG 2019-03-15 22:03:26 +00:00
vhost_blk.c vhost: change vsession->lcore only within that lcore 2019-03-28 14:16:56 +00:00
vhost_internal.h vhost: change vsession->lcore only within that lcore 2019-03-28 14:16:56 +00:00
vhost_nvme.c vhost: change vsession->lcore only within that lcore 2019-03-28 14:16:56 +00:00
vhost_rpc.c configure: add option not to use the internal rte_vhost copy 2019-03-13 14:26:20 +00:00
vhost_scsi.c vhost/scsi: don't hotplug targets to stopped sessions 2019-03-29 20:19:12 +00:00
vhost.c vhost: change vsession->lcore only within that lcore 2019-03-28 14:16:56 +00:00