Revision 7bd427d8 console.c

b/console.c
1135 1135
    /* characters are pending: we send them a bit later (XXX:
1136 1136
       horrible, should change char device API) */
1137 1137
    if (s->out_fifo.count > 0) {
1138
        qemu_mod_timer(s->kbd_timer, qemu_get_clock(rt_clock) + 1);
1138
        qemu_mod_timer(s->kbd_timer, qemu_get_clock_ms(rt_clock) + 1);
1139 1139
    }
1140 1140
}
1141 1141

  
......
1457 1457

  
1458 1458
    s->out_fifo.buf = s->out_fifo_buf;
1459 1459
    s->out_fifo.buf_size = sizeof(s->out_fifo_buf);
1460
    s->kbd_timer = qemu_new_timer(rt_clock, kbd_send_chars, s);
1460
    s->kbd_timer = qemu_new_timer_ms(rt_clock, kbd_send_chars, s);
1461 1461
    s->ds = ds;
1462 1462

  
1463 1463
    if (!color_inited) {

Also available in: Unified diff