Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-22 Thread Razvan Cojocaru
On 02/22/2016 03:51 PM, Lengyel, Tamas wrote: > > On Feb 22, 2016 04:23, "Razvan Cojocaru" > wrote: >> >> On 02/19/2016 07:26 PM, Lengyel, Tamas wrote: >> > >> > >> > On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper >> > mailto:andrew.coop...@citrix.com> >

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-22 Thread Lengyel, Tamas
On Feb 22, 2016 04:23, "Razvan Cojocaru" wrote: > > On 02/19/2016 07:26 PM, Lengyel, Tamas wrote: > > > > > > On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper > > mailto:andrew.coop...@citrix.com>> wrote: > > > > On 19/02/16 17:06, Lengyel, Tamas wrote: > >> > >> > >> On Tue, Feb 16, 2016 a

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-22 Thread Razvan Cojocaru
On 02/19/2016 07:26 PM, Lengyel, Tamas wrote: > > > On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper > mailto:andrew.coop...@citrix.com>> wrote: > > On 19/02/16 17:06, Lengyel, Tamas wrote: >> >> >> On Tue, Feb 16, 2016 at 3:47 AM, Jan Beulich > > wrote: >> >

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-19 Thread Lengyel, Tamas
On Fri, Feb 19, 2016 at 10:26 AM, Lengyel, Tamas wrote: > > > > On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper > wrote: > >> On 19/02/16 17:06, Lengyel, Tamas wrote: >> >> >> >> On Tue, Feb 16, 2016 at 3:47 AM, Jan Beulich wrote: >> >>> >>> On 16.02.16 at 07:58, < kevin.t...@intel.com> >>> wro

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-19 Thread Lengyel, Tamas
On Fri, Feb 19, 2016 at 10:18 AM, Andrew Cooper wrote: > On 19/02/16 17:06, Lengyel, Tamas wrote: > > > > On Tue, Feb 16, 2016 at 3:47 AM, Jan Beulich wrote: > >> >>> On 16.02.16 at 07:58, < kevin.t...@intel.com> >> wrote: >> >> --- a/xen/arch/x86/hvm/vmx/vmx.c >> >> +++ b/xen/arch/x86/hvm/vmx/v

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-19 Thread Andrew Cooper
On 19/02/16 17:06, Lengyel, Tamas wrote: > > > On Tue, Feb 16, 2016 at 3:47 AM, Jan Beulich > wrote: > > >>> On 16.02.16 at 07:58, > wrote: > >> --- a/xen/arch/x86/hvm/vmx/vmx.c > >> +++ b/xen/arch/x86/hvm/vmx/vmx.c > >> @@ -4

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-19 Thread Lengyel, Tamas
On Tue, Feb 16, 2016 at 3:47 AM, Jan Beulich wrote: > >>> On 16.02.16 at 07:58, wrote: > >> --- a/xen/arch/x86/hvm/vmx/vmx.c > >> +++ b/xen/arch/x86/hvm/vmx/vmx.c > >> @@ -490,6 +490,7 @@ static void vmx_vmcs_save(struct vcpu *v, struct > hvm_hw_cpu > >> *c) > >> __vmread(GUEST_SYSENTER_CS,

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-16 Thread Jan Beulich
>>> On 16.02.16 at 07:58, wrote: >> --- a/xen/arch/x86/hvm/vmx/vmx.c >> +++ b/xen/arch/x86/hvm/vmx/vmx.c >> @@ -490,6 +490,7 @@ static void vmx_vmcs_save(struct vcpu *v, struct >> hvm_hw_cpu >> *c) >> __vmread(GUEST_SYSENTER_CS, &c->sysenter_cs); >> __vmread(GUEST_SYSENTER_ESP, &c->syse

Re: [Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-15 Thread Tian, Kevin
> From: Tamas K Lengyel [mailto:tleng...@novetta.com] > Sent: Tuesday, February 16, 2016 3:04 AM > > Sending the dr7 register during vm_events is useful for various applications, > but the current way the register value is gathered is incorrent. In this patch > we extend vmx_vmcs_save so that we g

[Xen-devel] [PATCH v3 1/2] hvm/vmx: save dr7 during vmx_vmcs_save

2016-02-15 Thread Tamas K Lengyel
Sending the dr7 register during vm_events is useful for various applications, but the current way the register value is gathered is incorrent. In this patch we extend vmx_vmcs_save so that we get the correct value. Suggested-by: Andrew Cooper Signed-off-by: Tamas K Lengyel --- Cc: Jun Nakajima