scsi: add a started field to SCSIDiskReq
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scsi: support FUA on reads
To force unit access on reads, flush the cache before doing the read.
scsi: small refactoring of MMC mode-sense
Make DBD a boolean value, and force device-specific parameter to zero.
scsi: force unit access on VERIFY
Also DMA data from the host, to avoid that the host reports anunderrun.
scsi: make code more homogeneous in AIO callback functions
First scsi_flush_complete, like scsi_dma_complete, is always called withan active AIOCB.
Second, always test for "ret < 0" to check for errors.
scsi: move scsi_flush_complete around
scsi: add support for FUA on writes
To force unit access, add a flush operation after the actual write.WRITE AND VERIFY commands always flush according to SBC, so do iteven though we do not perform the reread.
scsi: add missing test for cancelled request
virtio: add virtio_queue_get_id
Serializing virtio-scsi requests needs a simple way to get from aVirtQueue to the number of the queue. The virtio_queue_get_idprovides this.
virtio-scsi: add multiqueue capability
Adding multiqueue is as simple as creating more than one virtqueues,and saving the queue number for each request.
View revisions
Also available in: Atom