mirror of https://gitee.com/openkylin/qemu.git
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:
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 *******************/
|
||||
|
|
Loading…
Reference in New Issue