[PATCH] hyperv: Implement Time Synchronization using host time sample

2014-10-14 Thread Thomas Shao
In current hyper-v time sync service,it only gets the initial clock time from the host. It didn't process the following time samples. This change introduced a module parameter called host_time_sync. If it is set to true, the guest will periodically sychronize it's time with the host clock using

Re: [PATCH] hyperv: Implement Time Synchronization using host time sample

2014-10-14 Thread Greg KH
On Tue, Oct 14, 2014 at 01:23:46AM -0700, Thomas Shao wrote: --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -1786,6 +1786,7 @@ int do_adjtimex(struct timex *txc) return ret; } +EXPORT_SYMBOL(do_adjtimex); EXPORT_SYMBOL_GPL()?

RE: [PATCH] hyperv: Implement Time Synchronization using host time sample

2014-10-14 Thread Thomas Shao
Subject: Re: [PATCH] hyperv: Implement Time Synchronization using host time sample On Tue, Oct 14, 2014 at 01:23:46AM -0700, Thomas Shao wrote: --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -1786,6 +1786,7 @@ int do_adjtimex(struct timex *txc) return ret

RE: [PATCH] hyperv: Implement Time Synchronization using host time sample

2014-10-14 Thread Thomas Gleixner
; a...@canonical.com; jasow...@redhat.com; KY Srinivasan Subject: Re: [PATCH] hyperv: Implement Time Synchronization using host time sample On Tue, Oct 14, 2014 at 01:23:46AM -0700, Thomas Shao wrote: --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -1786,6 +1786,7 @@ int

RE: [PATCH] hyperv: Implement Time Synchronization using host time sample

2014-10-14 Thread Thomas Shao
: [PATCH] hyperv: Implement Time Synchronization using host time sample On Tue, 14 Oct 2014, Thomas Shao wrote: -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Tuesday, October 14, 2014 3:35 PM To: Thomas Shao Cc: t...@linutronix.de; linux-ker

RE: [PATCH] hyperv: Implement Time Synchronization using host time sample

2014-10-14 Thread Thomas Shao
; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com; KY Srinivasan Cc: Thomas Shao Subject: [PATCH] hyperv: Implement Time Synchronization using host time sample In current hyper-v time sync service,it only gets the initial clock time from the host