]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Sat, 6 Apr 2013 21:38:15 +0000 (16:38 -0500)
commitd89f9ba43b5999ee7873523ea2708aff92ebf858
treec2098a98f0b7539e93147419d0b02debad5f74de
parent46f9071a23385933e7318a7c1f540852689ee0ca
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>
(cherry picked from commit d05ef160453e98546a4197496dc8a3cb2defac53)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
include/qemu/timer.h
util/qemu-timer-common.c