Spdk/lib/bdev/virtio
Dariusz Stojaczyk a27d7bc188 bdev/virtio: send scan I/O payload descriptor only when necessary
SCSI doesn't specify any payload associated
with TEST_UNIT_READY and START_STOP_UNIT
commands. Sending a payload didn't cause
any troubles so far, but still it's not SCSI
compliant and hence has been removed.

It is now assumed that iov_len of 0 means
that no payload should be sent.

Change-Id: Ibdfa7cd77af6049132278911d872cd52c10be6c7
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/391868
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-12-27 15:13:03 -05:00
..
bdev_virtio_rpc.c virtio/rpc: fix construct_virtio_user_scsi_bdev 2017-12-08 12:17:19 -05:00
bdev_virtio.c bdev/virtio: send scan I/O payload descriptor only when necessary 2017-12-27 15:13:03 -05:00
bdev_virtio.h bdev/virtio: cleanup public API 2017-12-05 23:06:38 -05:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00