From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6445] Add reset irq state for ps2 reboot callback (Dor Laor)
Date: Mon, 26 Jan 2009 15:57:53 +0000 [thread overview]
Message-ID: <E1LRTqT-0004Js-5e@cvs.savannah.gnu.org> (raw)
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)
reply other threads:[~2009-01-26 17:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1LRTqT-0004Js-5e@cvs.savannah.gnu.org \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.