numam-spdk/lib/vhost
Darek Stojaczyk d1d69a169c vhost: remove session type checks
When rte_vhost tells us to start a session with given
vid, we lookup the corresponsing session object from
an spdk-internal session list and tell it to start
polling without even specifying any backend. The vsession->vdev->type
checks could only fail as a result of some spdk data
corruption, so replace those with just asserts now. This
code path could have never been hit in our tests anyway.

Change-Id: I97c6cbe7088f338b684d291c93cbc59c44cfdc4e
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466042
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-08-26 17:24:04 +00:00
..
rte_vhost vhost: remove unnecessary membarrier on I/O completion 2019-08-23 22:34:02 +00:00
Makefile vhost: install external msg handling hooks to rte_vhost 2019-03-13 14:26:20 +00:00
rte_vhost_compat.c lib/vhost: Fix unaligned pointer value error 2019-06-17 07:18:48 +00:00
vhost_blk.c vhost: remove session type checks 2019-08-26 17:24:04 +00:00
vhost_internal.h vhost: introduce session names 2019-08-26 17:24:04 +00:00
vhost_nvme.c vhost: operate on poll groups instead of lcores 2019-07-01 12:50:57 +00:00
vhost_rpc.c Remove remaining spdk_jsonrpc_begin_result() NULL checks 2019-08-09 16:35:00 +00:00
vhost_scsi.c vhost: remove session type checks 2019-08-26 17:24:04 +00:00
vhost.c vhost: introduce session names 2019-08-26 17:24:04 +00:00