Allow clock_gettime() monotonic clock to be utilized on more OS's
authorBrad Smith <brad@comstyle.com>
Fri, 5 Apr 2013 00:37:53 +0000 (20:37 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 5 Apr 2013 01:22:45 +0000 (20:22 -0500)
commitd05ef160453e98546a4197496dc8a3cb2defac53
tree00a0b93821e3e30206c76be73e66b022b4cb4eb7
parentc5a98cf333997616147a161ef4e4cf71bb9bd00a
Allow clock_gettime() monotonic clock to be utilized on more OS's

Allow the clock_gettime() code using monotonic clock to be utilized on
more POSIX compliannt OS's. This started as a fix for OpenBSD which was
listed in one function as part of the previous hard coded list of OS's
for the functions to support but not in the other.

Signed-off-by: Brad Smith <brad@comstyle.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20130405003748.GH884@rox.home.comstyle.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
include/qemu/timer.h
util/qemu-timer-common.c