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