Spdk/test
Jim Harris bab34df6ca vhost: split iovs which span hugepage boundaries
A virtio descriptor may specify a buffer that spans
a huge page boundary or even a vhost memory region.
So modify spdk_vhost_vring_desc_to_iov() to take this
into account.

While here, also change spdk_vhost_vring_desc_to_iov
to return int instead of bool.  int return with -1 is
most standard to indicate failure.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I71faefce0367dc9e44d70ea4429a28dd64f04c10

Reviewed-on: https://review.gerrithub.io/371756
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
2017-07-31 13:10:52 -04:00
..
app test/app/stub: remove sentinel file on shutdown 2017-06-23 11:02:04 -04:00
blobfs/rocksdb test, blofs: remove the RESULTS_DIR prefix 2017-07-25 15:56:57 -04:00
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi: remove gen_nvme from FIO test 2017-07-14 19:35:44 -04:00
lib nbd: fix bdev alignment issue 2017-07-19 13:54:38 -04:00
nvmf log: Remove configurable log facility 2017-07-05 19:28:29 -04:00
unit vhost: split iovs which span hugepage boundaries 2017-07-31 13:10:52 -04:00
vhost vhost_scsi: implemented abstract vhost event layer 2017-07-20 13:19:26 -04:00
Makefile test: begin moving unit tests into test/unit 2017-06-16 16:43:48 -04:00
spdk_cunit.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00