Re: [Xen-devel] [PATCH] x86emul: defer injection of #DB

2016-09-30 Thread Andrew Cooper
On 30/09/16 10:39, Jan Beulich wrote: > Move the raising of the single step trap until after registers were > updated. This should probably have been that way from the beginning, > to allow the inject_hw_exception() hook to see updated register state > (in case it cares) - it's a trap, after all. >

[Xen-devel] [PATCH] x86emul: defer injection of #DB

2016-09-30 Thread Jan Beulich
Move the raising of the single step trap until after registers were updated. This should probably have been that way from the beginning, to allow the inject_hw_exception() hook to see updated register state (in case it cares) - it's a trap, after all. Signed-off-by: Jan Beulich --- a/xen/arch/x8