qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] virtio-scsi: abort in-flight I/O when the devic


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 0/2] virtio-scsi: abort in-flight I/O when the device is reset
Date: Thu, 10 Jan 2013 15:49:06 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]