Permalink
Browse files

HVM-711 need an interval timer-based alarm timer backend

  • Loading branch information...
bcantrill committed Jan 3, 2012
1 parent 2eda6ac commit 4f48eea6a4f757ec8e9e0884360387c45fff7356
Showing with 389 additions and 7 deletions.
  1. +1 −1 qemu-timer-common.c
  2. +375 −6 qemu-timer.c
  3. +4 −0 qemu-timer.h
  4. +9 −0 trace-events
View
@@ -51,7 +51,7 @@ static void __attribute__((constructor)) init_get_clock(void)
use_rt_clock = 0;
#if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD_version >= 500000) \
|| defined(__DragonFly__) || defined(__FreeBSD_kernel__) \
- || defined(__OpenBSD__)
+ || defined(__OpenBSD__) || defined (__sun__)
{
struct timespec ts;
if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
Oops, something went wrong.

0 comments on commit 4f48eea

Please sign in to comment.