Spdk/lib/vhost
Darek Stojaczyk d555e54681 vhost: setup iovs even for empty descriptors
This ensures that SPDK will detect descriptor chains
that are too long.

The additional check in vhost block stands as an
optimization and makes us fail the corrupted I/O early.

Change-Id: Icceaa0dd938dca96a1872e5ee96bf6a151fdd9e7
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Signed-off-by: Dima Stepanov <dstepanov.src@gmail.com>
Reviewed-on: https://review.gerrithub.io/c/433641
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-01-28 18:54:52 +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: setup iovs even for empty descriptors 2019-01-28 18:54:52 +00:00
vhost_internal.h vhost: move lcore management to the device backend 2019-01-25 09:28:42 +00:00
vhost_nvme.c vhost: move lcore management to the device backend 2019-01-25 09:28:42 +00:00
vhost_rpc.c vhost_nvme/rpc: free partially decoded request 2019-01-22 01:09:59 +00:00
vhost_scsi.c vhost: assert to_scsi_dev and to_blk_dev returns 2019-01-25 19:47:23 +00:00
vhost.c vhost: setup iovs even for empty descriptors 2019-01-28 18:54:52 +00:00