By sending message to the thread with which controller is associated, we can simplify vhost_dev_foreach_session(). We can iterate sessions list and we do not have to differentiate if session is started or not. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I59767a5788c190545a81976e75871609da703f45 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1147 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_compat.c | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_nvme.c | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |