Eric Farman e9c0f0f58a virtio-scsi: Cleanup of I/Os that never started
There is still a small window that occurs when a cancel I/O affects
an asynchronous I/O operation that hasn't started.  In other words,
when the residual data length equals the expected data length.

Today, the routine virtio_scsi_command_complete fails because the
VirtIOSCSIReq pointer (from the hba_private field in SCSIRequest)
was cleared earlier when virtio_scsi_complete_req was called by
the virtio_scsi_request_cancelled routine.  As a result, the
virtio_scsi_command_complete routine needs to simply return when
it is processing a SCSIRequest block that was marked canceled.

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-01-15 10:36:18 +01:00
2013-12-06 08:55:42 +01:00
2013-11-25 20:35:28 -08:00
2014-01-06 15:02:30 -05:00
2013-12-06 08:55:42 +01:00
2013-12-21 16:41:56 +01:00
2014-01-12 22:27:10 +00:00
2013-12-02 21:02:57 +04:00
2013-10-11 09:34:56 -07:00
2014-01-08 19:07:20 +00:00
2013-10-11 10:52:54 +02:00
2013-10-11 09:34:56 -07:00
2014-01-10 11:04:31 -08:00
2013-11-04 15:39:41 +02:00
2013-12-04 15:19:00 +01:00
2013-12-04 15:19:00 +01:00
2013-10-11 09:34:56 -07:00
2013-09-25 21:23:05 +02:00
2013-11-27 14:02:45 -08:00
2013-10-11 09:34:56 -07:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%