Re: [Xen-devel] [PATCH v4 5/5] x86/PV: prefer pv_inject_hw_exception()

2016-12-13 Thread Andrew Cooper
On 13/12/16 11:29, Jan Beulich wrote: > ... over editing the error code and calling do_guest_trap(). > > Signed-off-by: Jan Beulich Thanks for doing this. It was somewhere on my TODO list. I'd like to drop do_guest_trap() entirely, eventually. Reviewed-by: Andrew Cooper _

[Xen-devel] [PATCH v4 5/5] x86/PV: prefer pv_inject_hw_exception()

2016-12-13 Thread Jan Beulich
... over editing the error code and calling do_guest_trap(). Signed-off-by: Jan Beulich --- v4: New. --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -3565,20 +3565,17 @@ static void emulate_gate_op(struct cpu_u ((ar >> 13) & 3) > (regs->cs & 3) : ((ar >> 13) & 3) !