* [Qemu-devel] [PATCH] virtio-ccw: reset bugfix
@ 2013-06-13 11:43 Cornelia Huck
2013-06-13 11:43 ` [Qemu-devel] [PATCH] s390/virtio-ccw: Fix virtio reset Cornelia Huck
0 siblings, 1 reply; 2+ messages in thread
From: Cornelia Huck @ 2013-06-13 11:43 UTC (permalink / raw)
To: qemu-devel
Hi,
here's another virtio-ccw bugfix which makes rebooting work better here.
Christian Borntraeger (1):
s390/virtio-ccw: Fix virtio reset
hw/s390x/virtio-ccw.c | 2 ++
1 file changed, 2 insertions(+)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] [PATCH] s390/virtio-ccw: Fix virtio reset
2013-06-13 11:43 [Qemu-devel] [PATCH] virtio-ccw: reset bugfix Cornelia Huck
@ 2013-06-13 11:43 ` Cornelia Huck
0 siblings, 0 replies; 2+ messages in thread
From: Cornelia Huck @ 2013-06-13 11:43 UTC (permalink / raw)
To: qemu-devel; +Cc: Christian Borntraeger, qemu-stable
From: Christian Borntraeger <borntraeger@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 <borntraeger@de.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cornelia.huck@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 44f5772..4a45dc5 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-13 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 11:43 [Qemu-devel] [PATCH] virtio-ccw: reset bugfix Cornelia Huck
2013-06-13 11:43 ` [Qemu-devel] [PATCH] s390/virtio-ccw: Fix virtio reset Cornelia Huck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).