s390/virtio-ccw: Fix virtio reset
On virtio reset we must reset the indicator to avoid stale interrupts,
e.g. after a reset.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
(cherry picked from commit 6504a93011)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
This commit is contained in:
1 parent
ff4be47d1b
commit
717086d0e8
1 file changed
+2
@@ -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 *******************/
|
||||
|
||||
Reference in new issue
Block a user