Files
twx-linux/include/linux
David Vrabel 3565184ed0 x86: Increase precision of x86_platform.get/set_wallclock()
All the virtualized platforms (KVM, lguest and Xen) have persistent
wallclocks that have more than one second of precision.

read_persistent_wallclock() and update_persistent_wallclock() allow
for nanosecond precision but their implementation on x86 with
x86_platform.get/set_wallclock() only allows for one second precision.
This means guests may see a wallclock time that is off by up to 1
second.

Make set_wallclock() and get_wallclock() take a struct timespec
parameter (which allows for nanosecond precision) so KVM and Xen
guests may start with a more accurate wallclock time and a Xen dom0
can maintain a more accurate wallclock for guests.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2013-05-28 14:00:59 -07:00
..
…
2013-04-12 14:27:55 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-07 19:46:02 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:40:23 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-07 20:16:25 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-10 14:37:17 +01:00
…
…
…
…
…
…
2013-05-01 16:36:22 +05:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-07 18:38:27 -07:00
…
…
…
…
2013-04-29 18:28:40 -07:00
…
…
…
…
…
…
…
…
…
…
2013-05-01 16:28:48 -04:00
…
…
…
…
2013-05-07 02:16:31 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-06 13:07:33 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-30 17:04:06 -07:00
…
…
2013-05-07 16:09:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-30 17:04:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 18:28:44 -07:00
…
…
…
…
…
…
…
…
…
…
2013-05-04 14:47:26 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:54:28 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:54:28 -07:00
…
…
…
…
…
…
…
…
2013-04-12 10:26:23 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-30 15:50:12 +05:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-29 15:54:37 -07:00
…
…
…
…
…
2013-05-07 18:38:28 -07:00
…
…
…
…
…
…
…
…
…