From: Keir Fraser Subject: Re: S3 sleep in dom0 breaks dom0<->domU wallclock synchronization Date: Thu, 1 Jul 2010 15:50:32 +0100 Message-ID: References: <20100701030431.GB1431@email> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100701030431.GB1431@email> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rafal Wojtczuk , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 01/07/2010 04:04, "Rafal Wojtczuk" wrote: > Hello, > xen-3.4.3 x86_64, dom0 2.6.34-9.xenlinux as dom0, > 2.6.32.14-1.2.105.pvops0 in PV domU. /proc/sys/xen/independent_wallclock is > 0. > After resume from S3 sleep in dom0, the wall clock in domU is > desynchronized from dom0's one (the delta is the length of S3 sleep). It > does not seem that adj_timex is in progress (the delta is constant in time). > > Is it a known issue ? If so, could someone point me to a solution ? I think that pv_ops domU kernels pick up Xen's wallclock at boot time, but won't listen for updates thereafter. So if you ran a non-pv_ops domU, you'd probably find that its wallclock would be correctly updated after S3. Cc'ing Jeremy as he'll be able to confirm this. I think his answer will be that you should run ntp in every guest, but I'm not sure how that will react to unexpected warps in time. -- Keir > Regards, > Rafal Wojtczuk > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel