From: Christian Borntraeger <borntrae...@de.ibm.com> On virtio reset we must reset the indicator to avoid stale interrupts, e.g. after a reset.
Signed-off-by: Christian Borntraeger <borntrae...@de.ibm.com> Cc: qemu-sta...@nongnu.org Signed-off-by: Cornelia Huck <cornelia.h...@de.ibm.com> --- hw/s390x/virtio-ccw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 201a635..de51589 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -803,6 +803,8 @@ static void virtio_ccw_reset(DeviceState *d) virtio_reset(dev->vdev); css_reset_sch(dev->sch); + dev->indicators = 0; + dev->indicators2 = 0; } /**************** Virtio-ccw Bus Device Descriptions *******************/ -- 1.7.9.5