[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] domU time lagging
- To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
- From: "Brian Hays" <brian.hays@xxxxxxxxx>
- Date: Fri, 24 Feb 2006 09:22:40 -0500
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 24 Feb 2006 14:23:19 +0000
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kLcZLJB/52Zp6JP+d3sanOAEKrEQkfO82mscOGcD3jdSNy2ZkZVYjSEjNgthpYgcssxktiy5HCsRZNAGevlOCBOexmEg9D4w90BRxgoaLz9pqun+Fse1aoOsHdUNmqfTusqR/m/RImFmYxj7t1zpt2G/47RZON5WSPQYbOc6I2g=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
Thank you ... Will this cause the domU's to sync their time with the dom0 on an interval basis or solely upon initial creation?
Brian
On 2/24/06, Keir Fraser
<Keir.Fraser@xxxxxxxxxxxx> wrote:
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
|