Re: [Xen-devel] [PATCH v2] vmx: Restore debug registers when injecting #DB traps

2016-03-18 Thread Jan Beulich
>>> On 11.03.16 at 17:23, wrote: > Commit a929bee0e652 ("x86/vmx: Fix injection of #DB traps following > XSA-156") prevents an infinite loop in certain #DB traps. However, it > changed the behavior to not call hvm_hw_inject_trap() for #DB and #AC > traps which which means that the debug registers

Re: [Xen-devel] [PATCH v2] vmx: Restore debug registers when injecting #DB traps

2016-03-14 Thread Tian, Kevin
> From: Ross Lagerwall [mailto:ross.lagerw...@citrix.com] > Sent: Saturday, March 12, 2016 12:24 AM > > Commit a929bee0e652 ("x86/vmx: Fix injection of #DB traps following > XSA-156") prevents an infinite loop in certain #DB traps. However, it > changed the behavior to not call hvm_hw_inject_trap(

Re: [Xen-devel] [PATCH v2] vmx: Restore debug registers when injecting #DB traps

2016-03-14 Thread Jan Beulich
>>> On 11.03.16 at 17:23, wrote: > Commit a929bee0e652 ("x86/vmx: Fix injection of #DB traps following > XSA-156") prevents an infinite loop in certain #DB traps. However, it > changed the behavior to not call hvm_hw_inject_trap() for #DB and #AC > traps which which means that the debug registers

[Xen-devel] [PATCH v2] vmx: Restore debug registers when injecting #DB traps

2016-03-11 Thread Ross Lagerwall
Commit a929bee0e652 ("x86/vmx: Fix injection of #DB traps following XSA-156") prevents an infinite loop in certain #DB traps. However, it changed the behavior to not call hvm_hw_inject_trap() for #DB and #AC traps which which means that the debug registers are not restored correctly and nullified c