mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
committed by
Cornelia Huck
parent
baf8673ca8
commit
6504a93011
@@ -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