Spdk/lib/vhost
Changpeng Liu fabf6a83cc lib/vhost: remove session initialized flag
Session in vhost means an active socket connection from
client(e.g: QEMU or SPDK vhost initiator), but the device
state could be `started` or `stopped` because users may
remove the driver of the device in VM, so in
`foreach_session` we can always call the callback function
without checking the session state, and the callback function
may check the device state if necessary.

Change-Id: Id0fc8c7f6f0915a55a738f0c87ebe6539f7fb2db
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15038
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-11-03 14:53:55 +00:00
..
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rte_vhost_user.c lib/vhost: remove session initialized flag 2022-11-03 14:53:55 +00:00
spdk_vhost.map event/vhost: separate vhost subsystem to scsi and blk 2022-05-20 09:20:07 +00:00
vhost_blk.c lib/vhost: don't restart device multiple times 2022-11-03 14:53:55 +00:00
vhost_internal.h lib/vhost: remove session initialized flag 2022-11-03 14:53:55 +00:00
vhost_rpc.c vhost/rpc: return errno from virtio_blk_create_transport 2022-07-11 07:41:22 +00:00
vhost_scsi.c lib/vhost: don't restart device multiple times 2022-11-03 14:53:55 +00:00
vhost.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00