WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH] [PVOPS] dom0 sync xen wallclock

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] [PVOPS] dom0 sync xen wallclock
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 19 Feb 2010 09:39:49 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 19 Feb 2010 01:40:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1266570650.10261.6998.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqxQ4VxlLyCQ6sLTNSgevFBylWAnAAA/UXU
Thread-topic: [Xen-devel] Re: [PATCH] [PVOPS] dom0 sync xen wallclock
User-agent: Microsoft-Entourage/12.23.0.091001
On 19/02/2010 09:10, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel