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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] domU time lagging

To: "Brian Hays" <brian.hays@xxxxxxxxx>
Subject: Re: [Xen-devel] domU time lagging
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: 2006年2月24日 14:01:10 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年2月24日 14:01:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e4ca66ec0602240537p62483321s363f0119a3e37d57@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e4ca66ec0602240537p62483321s363f0119a3e37d57@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 24 Feb 2006, at 13:37, Brian Hays wrote:
I've noticed that the time inside DomU's begins lagging a few seconds behing the host (Dom0) machine. Is there a way to sync the domU times with the host server?
Probably you are running ntpd in domain0? You can try adding some code to the end of set_rtc_mmss() in arch/i386/kernel/time-xen.c (just before the return statement):
 {
 struct timeval *tv;
 struct timespec *ts;
 do_gettimeofday(&tv);
 ts.ts_sec = tv.tv_sec;
 ts.ts_nsec = tv.tv_usec * 1000;
 do_settimeofday(&ts);
 }
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] domU time lagging , Brian Hays
Next by Date: Re: [Xen-devel] domU time lagging , Keir Fraser
Previous by Thread: [Xen-devel] domU time lagging , Brian Hays
Next by Thread: Re: [Xen-devel] domU time lagging , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /