Spdk/lib/vhost
Darek Stojaczyk fb98b0e519 vhost: allow breaking from the external_event_foreach() chain
Returning negative value from a `foreach` callback
will now break the entire chain. This is required
for refactoring spdk_vhost_dev_foreach_session() to
use the same mechanism as external events. Before
we actually do the refactor, we add the only feature
that external events were missing.

Change-Id: I70bda3df99748de51429e329a056c37a3bc7e348
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/439444
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
2019-01-22 23:24:05 +00:00
..
rte_vhost vhost: do not close a closed connfd 2019-01-16 05:11:58 +00:00
Makefile vhost_user_nvme: add vhost user nvme target to SPDK 2018-04-03 15:01:24 -04:00
vhost_blk.c vhost-blk: add flush command support 2019-01-18 15:47:20 +00:00
vhost_internal.h vhost: allow allocating per-session context data 2019-01-15 18:48:14 +00:00
vhost_nvme.c lib: Fix spelling error in vhost_nvme.c 2019-01-22 08:54:10 +00:00
vhost_rpc.c vhost_nvme/rpc: free partially decoded request 2019-01-22 01:09:59 +00:00
vhost_scsi.c vhost/scsi: make scsi device a part of the device state struct 2019-01-17 05:18:41 +00:00
vhost.c vhost: allow breaking from the external_event_foreach() chain 2019-01-22 23:24:05 +00:00