numam-spdk/lib/vhost
yidong0635 b2c86b35db vhost/vhost_scsi: Fix coredump issue for non-scsi device.
Remove assert and add exit codes instead. That in non-debug mode, these
could lead coredump. We don't want the vhost target be crashed after
recieved  invalid commands.

fixes issue: #1575

Signed-off-by: yidong0635 <dongx.yi@intel.com>
Change-Id: Ifef6d8f9c32150213bc2c80787e92d428d4c49c3
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3951
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: JinYu <jin.yu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-08-28 07:19:27 +00:00
..
Makefile lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
rte_vhost_compat.c lib/vhost: remove spdk prefix from static functions in rte_vhost_compat.c 2020-05-20 14:11:31 +00:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vhost_blk.c vhost-blk: add resize bdev support 2020-07-29 08:05:31 +00:00
vhost_internal.h vhost: set the packed ring as default 2020-06-12 15:45:27 +00:00
vhost_nvme.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
vhost_rpc.c lib/vhost: remove spdk prefix from static functions in vhost_rpc.c 2020-05-20 14:11:31 +00:00
vhost_scsi.c vhost/vhost_scsi: Fix coredump issue for non-scsi device. 2020-08-28 07:19:27 +00:00
vhost.c lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00