Revision 7bd427d8 savevm.c

b/savevm.c
137 137

  
138 138
    if (--count) {
139 139
        /* delay 50ms, 150ms, 250ms, ... */
140
        qemu_mod_timer(timer, qemu_get_clock(rt_clock) +
140
        qemu_mod_timer(timer, qemu_get_clock_ms(rt_clock) +
141 141
                       50 + (SELF_ANNOUNCE_ROUNDS - count - 1) * 100);
142 142
    } else {
143 143
	    qemu_del_timer(timer);
......
148 148
void qemu_announce_self(void)
149 149
{
150 150
	static QEMUTimer *timer;
151
	timer = qemu_new_timer(rt_clock, qemu_announce_self_once, &timer);
151
	timer = qemu_new_timer_ms(rt_clock, qemu_announce_self_once, &timer);
152 152
	qemu_announce_self_once(&timer);
153 153
}
154 154

  

Also available in: Unified diff