Revision 74475455 target-ppc/kvm.c

b/target-ppc/kvm.c
85 85
    sregs.pvr = cenv->spr[SPR_PVR];
86 86
    ret = kvm_vcpu_ioctl(cenv, KVM_SET_SREGS, &sregs);
87 87

  
88
    idle_timer = qemu_new_timer(vm_clock, kvm_kick_env, cenv);
88
    idle_timer = qemu_new_timer_ns(vm_clock, kvm_kick_env, cenv);
89 89

  
90 90
    return ret;
91 91
}
......
246 246
            printf("cpu %d fail inject %x\n", env->cpu_index, irq);
247 247

  
248 248
        /* Always wake up soon in case the interrupt was level based */
249
        qemu_mod_timer(idle_timer, qemu_get_clock(vm_clock) +
249
        qemu_mod_timer(idle_timer, qemu_get_clock_ns(vm_clock) +
250 250
                       (get_ticks_per_sec() / 50));
251 251
    }
252 252

  

Also available in: Unified diff