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] [XEN-3.4] pv_ops dom0 time/clock handling

To: Daniel Schroeder <sec@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [XEN-3.4] pv_ops dom0 time/clock handling
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 25 May 2009 10:16:57 +0100
Cc:
Delivery-date: Mon, 25 May 2009 02:17:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A1A60C6.7050100@xxxxxxxxxxxxxxx>
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: AcndGNuNwsURkg9iTfqZbubsH8RnFgAALGo9
Thread-topic: [Xen-devel] [XEN-3.4] pv_ops dom0 time/clock handling
User-agent: Microsoft-Entourage/12.17.0.090302
On 25/05/2009 10:11, "Daniel Schroeder" <sec@xxxxxxxxxxxxxxx> wrote:

>> I have added "localtime = 0" and it seems to be fine...so, probably solved..
>> 
> this works for OpenSUSE 2.6.29.X XEN dom0 Kernel...
> ...i have tested latest git-next repo .30-rc6 and the pv domU is two
> hours ahead.
> I have checked the following:
> 
> dom0 ntpd working, correct time and /etc/localtime is correct
> (Europe/Berlin)
> 
> domU no ntpd and correct timezone and /etc/localtime (Europe/Berlin)
> "localtime = 0" in pv domU config file...
> 
> it seems to me, that the domU gets not UTC as basetime...

This could plausibly be a pv_ops bug. I fthe only thing you change is the
kernel -- keeping all configuration the same -- then dom0 will be providing
exactly the same time info to both kernels.

 -- Keir



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