* [Qemu-devel] [6445] Add reset irq state for ps2 reboot callback (Dor Laor)
@ 2009-01-26 15:57 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-01-26 15:57 UTC (permalink / raw)
To: qemu-devel
Revision: 6445
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6445
Author: aliguori
Date: 2009-01-26 15:57:52 +0000 (Mon, 26 Jan 2009)
Log Message:
-----------
Add reset irq state for ps2 reboot callback (Dor Laor)
Should solve 100% cpu ioport poll after reboot.
Signed-off-by: Dor Laor <dor@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/hw/ps2.c
Modified: trunk/hw/ps2.c
===================================================================
--- trunk/hw/ps2.c 2009-01-26 15:37:44 UTC (rev 6444)
+++ trunk/hw/ps2.c 2009-01-26 15:57:52 UTC (rev 6445)
@@ -497,6 +497,7 @@
q->rptr = 0;
q->wptr = 0;
q->count = 0;
+ s->update_irq(s->update_arg, 0);
}
static void ps2_common_save (QEMUFile *f, PS2State *s)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-26 17:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 15:57 [Qemu-devel] [6445] Add reset irq state for ps2 reboot callback (Dor Laor) Anthony Liguori
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).