Make the machdep.independent_wallclock sysctl do what it says on the box.

This commit is contained in:
Colin Percival 2010-12-11 20:12:42 +00:00
parent 4268c54530
commit 0f30ed5bc6

View File

@ -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();