Re: [Xen-devel] [PATCH v6 1/5] x86/hvm: Setup TSC scaling ratio

2016-02-29 Thread Boris Ostrovsky
On 02/29/2016 08:55 AM, Jan Beulich wrote: On 29.02.16 at 14:49, wrote: On 02/29/2016 08:41 AM, Jan Beulich wrote: On 28.02.16 at 13:54, wrote: This patch adds a field tsc_scaling_ratio in struct hvm_domain to record the per-domain TSC scaling ratio, and sets it in tsc_set_info(). Before se

Re: [Xen-devel] [PATCH v6 1/5] x86/hvm: Setup TSC scaling ratio

2016-02-29 Thread Haozhong Zhang
On 02/29/16 08:49, Boris Ostrovsky wrote: > On 02/29/2016 08:41 AM, Jan Beulich wrote: > On 28.02.16 at 13:54, wrote: > >>This patch adds a field tsc_scaling_ratio in struct hvm_domain to record > >>the per-domain TSC scaling ratio, and sets it in tsc_set_info(). > >> > >>Before setting the pe

Re: [Xen-devel] [PATCH v6 1/5] x86/hvm: Setup TSC scaling ratio

2016-02-29 Thread Jan Beulich
>>> On 29.02.16 at 14:49, wrote: > On 02/29/2016 08:41 AM, Jan Beulich wrote: > On 28.02.16 at 13:54, wrote: >>> This patch adds a field tsc_scaling_ratio in struct hvm_domain to record >>> the per-domain TSC scaling ratio, and sets it in tsc_set_info(). >>> >>> Before setting the per-domain

Re: [Xen-devel] [PATCH v6 1/5] x86/hvm: Setup TSC scaling ratio

2016-02-29 Thread Boris Ostrovsky
On 02/29/2016 08:41 AM, Jan Beulich wrote: On 28.02.16 at 13:54, wrote: This patch adds a field tsc_scaling_ratio in struct hvm_domain to record the per-domain TSC scaling ratio, and sets it in tsc_set_info(). Before setting the per-domain TSC scaling ratio, we check its validity in tsc_set_in

Re: [Xen-devel] [PATCH v6 1/5] x86/hvm: Setup TSC scaling ratio

2016-02-29 Thread Jan Beulich
>>> On 28.02.16 at 13:54, wrote: > This patch adds a field tsc_scaling_ratio in struct hvm_domain to record > the per-domain TSC scaling ratio, and sets it in tsc_set_info(). > > Before setting the per-domain TSC scaling ratio, we check its validity > in tsc_set_info(). If an invalid ratio is giv

[Xen-devel] [PATCH v6 1/5] x86/hvm: Setup TSC scaling ratio

2016-02-28 Thread Haozhong Zhang
This patch adds a field tsc_scaling_ratio in struct hvm_domain to record the per-domain TSC scaling ratio, and sets it in tsc_set_info(). Before setting the per-domain TSC scaling ratio, we check its validity in tsc_set_info(). If an invalid ratio is given, we will leave the default value in tsc_s