From: Keir Fraser Subject: Re: Re: [PATCH] [PVOPS] dom0 sync xen wallclock Date: Fri, 19 Feb 2010 09:39:49 +0000 Message-ID: References: <1266570650.10261.6998.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1266570650.10261.6998.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell , Jeremy Fitzhardinge Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 19/02/2010 09:10, "Ian Campbell" wrote: > On Thu, 2010-02-18 at 23:43 +0000, Jeremy Fitzhardinge wrote: >> * PV domUs get a rough time of day at boot either from a simple >> "seconds since 1970" in the startup info put there by the domain >> builder from dom0's clock (so there's no illusion that it is >> anything other than a one-time start time for the domain) > > Unfortunately there is an existing large installed base of guests which > use the dependent wallclock mode since it is the default in oldstyle Xen > kernels. That still plays okay with dom0 setting Xen wallclock only once, or not at all (since Xen primes its WC values from CMOS). The wallclock values would then never change and old kernels naturally just pick up WC at boot and never again. And their default mode is also compatible with them running ntpd -- if the kernel detects ntp sync then it changes/reduces how it syncs with Xen. -- Keir