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.

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


Reply via email to