|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/3] x86/xen: sync the CMOS RTC as well as the Xen wallclock
On 05/15/2013 01:19 AM, Jan Beulich wrote: On 14.05.13 at 19:24, John Stultz <john.stultz@xxxxxxxxxx> wrote:On 05/13/2013 10:56 AM, David Vrabel wrote:From: David Vrabel <david.vrabel@xxxxxxxxxx> If NTP is used in dom0 and it is synchronized to its clock source, then the kernel will periodically synchronize the Xen wallclock with the system time. Updates to the Xen wallclock do not persist across reboots, so also synchronize the CMOS RTC (as on bare metal). Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx> --- arch/x86/xen/time.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index a1947ac..4656165 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -14,6 +14,7 @@ #include <linux/kernel_stat.h> #include <linux/math64.h> #include <linux/gfp.h> +#include <linux/mc146818rtc.h>#include <asm/pvclock.h> Ok.David: Would you resubmit this patch, adding this additional context in a comment? thanks -john _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |