Re: [Xen-devel] [PATCH v3 12/13] vmx: Add VMX RDTSC(P) scaling support

2016-01-14 Thread Haozhong Zhang
On 01/14/16 02:05, Jan Beulich wrote: > >>> On 14.01.16 at 05:52, wrote: > > On 01/12/16 09:48, Jan Beulich wrote: > >> >>> On 31.12.15 at 04:03, wrote: > >> > @@ -2003,6 +2011,10 @@ static struct hvm_function_table __initdata > > vmx_function_table = { > >> > .altp2m_vcpu_update_vmfunc_ve

Re: [Xen-devel] [PATCH v3 12/13] vmx: Add VMX RDTSC(P) scaling support

2016-01-14 Thread Jan Beulich
>>> On 14.01.16 at 05:52, wrote: > On 01/12/16 09:48, Jan Beulich wrote: >> >>> On 31.12.15 at 04:03, wrote: >> > @@ -2003,6 +2011,10 @@ static struct hvm_function_table __initdata > vmx_function_table = { >> > .altp2m_vcpu_update_vmfunc_ve = vmx_vcpu_update_vmfunc_ve, >> > .altp2m_vcp

Re: [Xen-devel] [PATCH v3 12/13] vmx: Add VMX RDTSC(P) scaling support

2016-01-13 Thread Haozhong Zhang
On 01/12/16 09:48, Jan Beulich wrote: > >>> On 31.12.15 at 04:03, wrote: > > @@ -2003,6 +2011,10 @@ static struct hvm_function_table __initdata > > vmx_function_table = { > > .altp2m_vcpu_update_vmfunc_ve = vmx_vcpu_update_vmfunc_ve, > > .altp2m_vcpu_emulate_ve = vmx_vcpu_emulate_ve, >

Re: [Xen-devel] [PATCH v3 12/13] vmx: Add VMX RDTSC(P) scaling support

2016-01-12 Thread Jan Beulich
>>> On 31.12.15 at 04:03, wrote: > @@ -2003,6 +2011,10 @@ static struct hvm_function_table __initdata > vmx_function_table = { > .altp2m_vcpu_update_vmfunc_ve = vmx_vcpu_update_vmfunc_ve, > .altp2m_vcpu_emulate_ve = vmx_vcpu_emulate_ve, > .altp2m_vcpu_emulate_vmfunc = vmx_vcpu_emul

[Xen-devel] [PATCH v3 12/13] vmx: Add VMX RDTSC(P) scaling support

2015-12-30 Thread Haozhong Zhang
This patch adds the initialization and setup code for VMX TSC scaling. Signed-off-by: Haozhong Zhang Acked-by: Kevin Tian --- xen/arch/x86/hvm/vmx/vmcs.c| 12 +--- xen/arch/x86/hvm/vmx/vmx.c | 15 +++ xen/include/asm-x86/hvm/vmx/vmcs.h | 7 +++ 3 files c