bab34df6ca
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> |
||
---|---|---|
.. | ||
bdev | ||
blob | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
nvme | ||
nvmf | ||
scsi | ||
util | ||
vhost | ||
Makefile |