Commit deeccef38991a9c1a29169aa351490163d55fc7f

Authored by aliguori
1 parent e0e7877a

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
Showing 1 changed file with 1 additions and 0 deletions
hw/ps2.c
... ... @@ -497,6 +497,7 @@ static void ps2_reset(void *opaque)
497 497 q->rptr = 0;
498 498 q->wptr = 0;
499 499 q->count = 0;
  500 + s->update_irq(s->update_arg, 0);
500 501 }
501 502  
502 503 static void ps2_common_save (QEMUFile *f, PS2State *s)
... ...