Spdk/lib/vhost
Daniel Verkamp 80e7107811 vhost/nvme: replace asserts() with error checks
These assert() calls were all checking guest-provided data; it should
not be possible for a guest to trigger an assert(), so replace them with
actual runtime error checks (which won't get removed in release builds).

Change-Id: I0692dae0e8f6157fc04e88a3ed8087cce9367fe2
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/408761
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2018-04-25 02:38:30 +00:00
..
rte_vhost vhost-nvme: reserve a bigger enough opcode to avoid conflict with QEMU 2018-04-24 16:41:40 +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_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00
vhost_internal.h vhost_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00
vhost_nvme.c vhost/nvme: replace asserts() with error checks 2018-04-25 02:38:30 +00:00
vhost_rpc.c rpc/vhost_nvme: add rpc support for vhost-nvme target 2018-04-20 15:24:50 -04:00
vhost_scsi.c vhost/scsi: handle spdk_vhost_gpa_to_vva() failure 2018-04-24 16:02:58 +00:00
vhost.c vhost_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00