On Wed, Dec 12, 2012 at 03:26:34PM +0100, Paolo Bonzini wrote: > virtio devices are not performing a full reset when zero is written > to the status field, because the reset does not propagate down the qdev > bus hierarchy. > > These patches fix this problem by calling qdev_reset_all when zero > is written to the status field.
Looks like this is a virtio-scsi thing - others don't have a hierarchy. Let's just stick this code in virtio_scsi_reset then? It likely can access the scsi bus without going through virtio-pci and s390 right? > Paolo Bonzini (2): > virtio-pci: reset all qbuses too when writing to the status field > virtio-s390: reset all qbuses too when writing to the status field > > hw/s390-virtio-bus.c | 8 +++++++- > hw/virtio-pci.c | 25 ++++++++++--------------- > 2 files changed, 17 insertions(+), 16 deletions(-) > > -- > 1.8.0.1