Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-08 Thread Haozhong Zhang
On 01/08/16 06:43, Jan Beulich wrote: > >>> On 08.01.16 at 14:22, wrote: > > On 01/08/16 02:20, Jan Beulich wrote: > >> >>> On 31.12.15 at 04:03, wrote: > >> > --- a/xen/arch/x86/time.c > >> > +++ b/xen/arch/x86/time.c > >> > @@ -815,10 +815,18 @@ static void __update_vcpu_system_time(struct vcpu

Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-08 Thread Jan Beulich
>>> On 08.01.16 at 14:22, wrote: > On 01/08/16 02:20, Jan Beulich wrote: >> >>> On 31.12.15 at 04:03, wrote: >> > --- a/xen/arch/x86/time.c >> > +++ b/xen/arch/x86/time.c >> > @@ -815,10 +815,18 @@ static void __update_vcpu_system_time(struct vcpu >> > *v, int force) >> > } >> > else >

Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-08 Thread Haozhong Zhang
On 01/08/16 02:20, Jan Beulich wrote: > >>> On 31.12.15 at 04:03, wrote: > > This patch makes the pvclock return the scaled host TSC and > > corresponding scaling parameters to HVM domains if guest TSC is not > > emulated and TSC scaling is enabled. > > > > Signed-off-by: Haozhong Zhang > > ---

Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-08 Thread Jan Beulich
>>> On 31.12.15 at 04:03, wrote: > This patch makes the pvclock return the scaled host TSC and > corresponding scaling parameters to HVM domains if guest TSC is not > emulated and TSC scaling is enabled. > > Signed-off-by: Haozhong Zhang > --- > Changes in v3: > (addressing Boris Ostrovsky's co

Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-05 Thread Haozhong Zhang
On 01/05/16 11:15, Boris Ostrovsky wrote: > On 01/04/2016 07:59 PM, Haozhong Zhang wrote: > >On 01/04/16 13:09, Boris Ostrovsky wrote: > >>On 12/30/2015 10:03 PM, Haozhong Zhang wrote: > >>>This patch makes the pvclock return the scaled host TSC and > >>>corresponding scaling parameters to HVM doma

Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-05 Thread Boris Ostrovsky
On 01/04/2016 07:59 PM, Haozhong Zhang wrote: On 01/04/16 13:09, Boris Ostrovsky wrote: On 12/30/2015 10:03 PM, Haozhong Zhang wrote: This patch makes the pvclock return the scaled host TSC and corresponding scaling parameters to HVM domains if guest TSC is not emulated and TSC scaling is enabl

Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-04 Thread Haozhong Zhang
On 01/04/16 13:09, Boris Ostrovsky wrote: > On 12/30/2015 10:03 PM, Haozhong Zhang wrote: > >This patch makes the pvclock return the scaled host TSC and > >corresponding scaling parameters to HVM domains if guest TSC is not > >emulated and TSC scaling is enabled. > > > >Signed-off-by: Haozhong Zhan

Re: [Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2016-01-04 Thread Boris Ostrovsky
On 12/30/2015 10:03 PM, Haozhong Zhang wrote: This patch makes the pvclock return the scaled host TSC and corresponding scaling parameters to HVM domains if guest TSC is not emulated and TSC scaling is enabled. Signed-off-by: Haozhong Zhang --- Changes in v3: (addressing Boris Ostrovsky's com

[Xen-devel] [PATCH v3 04/13] x86/time.c: Scale host TSC in pvclock properly

2015-12-30 Thread Haozhong Zhang
This patch makes the pvclock return the scaled host TSC and corresponding scaling parameters to HVM domains if guest TSC is not emulated and TSC scaling is enabled. Signed-off-by: Haozhong Zhang --- Changes in v3: (addressing Boris Ostrovsky's comments) * No changes in fact. tsc_set_info() does