diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-26 15:57:52 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-26 15:57:52 +0000 |
commit | deeccef38991a9c1a29169aa351490163d55fc7f (patch) | |
tree | 860bfc2bf1911f054c9454bfab0b773aaa69d7e0 /hw/ps2.c | |
parent | e0e7877a0a522d12d0fa6afd7959d3ca5cac73ff (diff) |
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>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6445 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ps2.c')
-rw-r--r-- | hw/ps2.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -497,6 +497,7 @@ static void ps2_reset(void *opaque) 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) |