Skip to content
Browse files

HVM-686 switch to CLOCK_HIGHRES to allow us to have accurate timers i…

…n guests.
  • Loading branch information...
1 parent 2d6f3c6 commit c659a1a4a9dda8f3bae694d942263e7f3ecbfa5a @joshwilsdon joshwilsdon committed Nov 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 qemu-timer.c
View
2 qemu-timer.c
@@ -870,7 +870,7 @@ static int dynticks_start_timer(struct qemu_alarm_timer *t)
ev.sigev_notify = SIGEV_SIGNAL;
ev.sigev_signo = SIGALRM;
- if (timer_create(CLOCK_REALTIME, &ev, &host_timer)) {
+ if (timer_create(CLOCK_HIGHRES, &ev, &host_timer)) {
perror("timer_create");
/* disable dynticks */

0 comments on commit c659a1a

Please sign in to comment.
Something went wrong with that request. Please try again.