From 2c819481174363ecef4130ed50ae6003ada3d899 Mon Sep 17 00:00:00 2001 From: cperciva Date: Sat, 11 Dec 2010 20:12:42 +0000 Subject: Make the machdep.independent_wallclock sysctl do what it says on the box. --- sys/i386/xen/clock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/i386/xen/clock.c') diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c index 2f7046e..5efd66d 100644 --- a/sys/i386/xen/clock.c +++ b/sys/i386/xen/clock.c @@ -340,7 +340,8 @@ clkintr(void *arg) * time base. */ - if (shadow_tv_version != HYPERVISOR_shared_info->wc_version) { + if (shadow_tv_version != HYPERVISOR_shared_info->wc_version && + !independent_wallclock) { printf("[XEN] hypervisor wallclock nudged; nudging TOD.\n"); update_wallclock(); add_uptime_to_wallclock(); -- cgit v1.1