Re: [Xen-devel] [PATCH v4 03/27] x86: move PV gate op emulation code

2017-06-20 Thread Jan Beulich
>>> On 08.06.17 at 19:11, wrote: > --- a/xen/include/asm-x86/pv/traps.h > +++ b/xen/include/asm-x86/pv/traps.h > @@ -26,10 +26,12 @@ > #include > > int pv_emulate_privileged_op(struct cpu_user_regs *regs); > +void pv_emulate_gate_op(struct cpu_user_regs *regs); > > #else /* !CONFIG_PV */

[Xen-devel] [PATCH v4 03/27] x86: move PV gate op emulation code

2017-06-08 Thread Wei Liu
Move the code to pv/emul-gate-op.c. Prefix emulate_gate_op with pv_ and export it via pv/traps.h. Pure code motion except for the rename. Signed-off-by: Wei Liu --- xen/arch/x86/pv/Makefile | 1 + xen/arch/x86/pv/emul-gate-op.c | 440 + xen/arch/x