OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf8673
)
s390/virtio-ccw: Fix virtio reset
author
Christian Borntraeger
<borntraeger@de.ibm.com>
Fri, 7 Jun 2013 10:18:46 +0000
(12:18 +0200)
committer
Cornelia Huck
<cornelia.huck@de.ibm.com>
Tue, 25 Jun 2013 15:11:11 +0000
(17:11 +0200)
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>
hw/s390x/virtio-ccw.c
patch
|
blob
|
history
diff --git
a/hw/s390x/virtio-ccw.c
b/hw/s390x/virtio-ccw.c
index
201a635
..
de51589
100644
(file)
--- 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 *******************/