|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] domU time lagging
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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |