qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/2] virtio: reset all qbuses too when writing t


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH 0/2] virtio: reset all qbuses too when writing to the status field
Date: Wed, 12 Dec 2012 17:38:21 +0200

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



reply via email to

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