[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/3] timekeeping: sync persistent clock and RTC on system time step changes



On 05/28/2013 11:26 AM, David Vrabel wrote:
On 15/05/13 19:10, John Stultz wrote:
Ok, so really, as soon as the Dom0 time is set by NTP, all guests will
see the right time? That makes more sense, and means the window for
these sorts of issues is reasonably quite small.
It's a small window but it's occurring in our automated test system.

What is it with about your automated test system that causes a misconfigured RTC & system such that xen guests are started before Dom0 has finished being initialized? Or am I still misunderstanding the situation?

1) Dom0 boots w/ misconfigured RTC
2) Dom0 starts ntp, correcting the date
3) After 11 minutes of sync the RTC is synced to NTP time.

From earlier discussions, the only problem would be with guests starting between 1 and 2 (which seems a bit early for guests to be starting). And after 3, with your patch 1/2 (that I've queued) the issue should not recur again, as the RTC is corrected.



David: So I'm less inclined to merge this individual change, but if you
still feel strongly about it, let me know and we can circle around on it
after you've addressed the specific issues I pointed out earlier.
This patch was the actual bug fix but I've reworked it to use the
pvclock_gtod notifier chain as this seemed to be what KVM hosts were
using to maintain a clock for guests.  Please review the new series, thanks.

I'm still not convinced that we should be changing the behavior we've had for quite a long time.

thanks
-john



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.