]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio-scsi.c
virtio-scsi: abort in-flight I/O when the device is reset
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Jan 2013 14:49:08 +0000 (15:49 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 10 Jan 2013 21:22:42 +0000 (15:22 -0600)
commit47a150a4bbb06e45ef439a8222e9f46a7c4cca3f
tree2ddb17409159da6599701f1dc7d853bada4addea
parentd0508c3664290baad379f6513c92cae6e5aac95b
virtio-scsi: abort in-flight I/O when the device is reset

When the device is reset, the SCSI bus should also be reset so
that in-flight I/O is cancelled.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-scsi.c