qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] virtio-scsi: abort in-flight I/O when the device is reset
@ 2013-01-10 14:49 Paolo Bonzini
  2013-01-10 14:49 ` [Qemu-devel] [PATCH 1/2] qdev: add qbus_reset_all Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Paolo Bonzini @ 2013-01-10 14:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori, mst

This fixes the virtio-scsi problem by forcing a reset of the SCSI
bus from virtio_reset.  The reset will happen twice on machine
initialization (and this is why I preferred the other approach,
using qdev_reset_all in virtio code), but that's harmless.

Paolo Bonzini (2):
  qdev: add qbus_reset_all
  virtio-scsi: abort in-flight I/O when the device is reset

 hw/qdev-core.h   | 12 ++++++++++++
 hw/qdev.c        |  7 ++++++-
 hw/virtio-scsi.c |  4 ++++
 3 files changed, 22 insertions(+), 1 deletion(-)

-- 
1.8.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-11 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 14:49 [Qemu-devel] [PATCH 0/2] virtio-scsi: abort in-flight I/O when the device is reset Paolo Bonzini
2013-01-10 14:49 ` [Qemu-devel] [PATCH 1/2] qdev: add qbus_reset_all Paolo Bonzini
2013-01-10 18:34   ` Andreas Färber
2013-01-11 17:34     ` Andreas Färber
2013-01-10 14:49 ` [Qemu-devel] [PATCH 2/2] virtio-scsi: abort in-flight I/O when the device is reset Paolo Bonzini
2013-01-10 15:14 ` [Qemu-devel] [PATCH 0/2] " Michael S. Tsirkin
2013-01-11 16:46 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).