Skip to content

virtio-scsi: abort in-flight I/O when the device is reset

Paolo Bonzini qemu-devel 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2qdev: add qbus_reset_allhw/qdev-core.h hw/qdev.c+18 -12 replies
2/2virtio-scsi: abort in-flight I/O when the device is resethw/virtio-scsi.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] virtio-scsi: abort in-flight I/O when the device is reset

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(-)
Signature · 1 line
1.8.1