kern/135008: FreeBSD-current/Xen timecounter jumps

Adrian Chadd adrian at freebsd.org
Thu May 28 04:50:03 UTC 2009


The following reply was made to PR kern/135008; it has been noted by GNATS.

From: Adrian Chadd <adrian at freebsd.org>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: kern/135008: FreeBSD-current/Xen timecounter jumps
Date: Thu, 28 May 2009 12:25:45 +0800

 .. now that the RTC code is in and I've figured out whats going on
 there, the problem has become obvious.
 
 Changing the dom0 clock by > 1 second seems to trigger a re-read of
 the wall clock in the DomU. The DomU sets the TOD to the wall clock -
 but this unfortunately sets it to the hypervisor start time rather
 than including the start time + uptime.
 
 The fix is to figure out the code path(s) in the xen clock code and
 fix the TOD update to be correct.


More information about the freebsd-xen mailing list