Re: [Xen-devel] [PATCH v2 03/18] x86/traps: lift do_guest_trap to domain.h

2017-05-15 Thread Jan Beulich
>>> On 12.05.17 at 20:16, wrote: > On 05/05/17 15:48, Wei Liu wrote: >> Put it along side with other pv_inject functions and rename it to >> pv_inject_trap. >> >> We need this because this function is used by PV emulation code and PV >> trap handling code, which will be

Re: [Xen-devel] [PATCH v2 03/18] x86/traps: lift do_guest_trap to domain.h

2017-05-12 Thread Andrew Cooper
On 12/05/17 19:16, Andrew Cooper wrote: > On 05/05/17 15:48, Wei Liu wrote: >> Put it along side with other pv_inject functions and rename it to >> pv_inject_trap. >> >> We need this because this function is used by PV emulation code and PV >> trap handling code, which will be split into different

Re: [Xen-devel] [PATCH v2 03/18] x86/traps: lift do_guest_trap to domain.h

2017-05-12 Thread Andrew Cooper
On 05/05/17 15:48, Wei Liu wrote: > Put it along side with other pv_inject functions and rename it to > pv_inject_trap. > > We need this because this function is used by PV emulation code and PV > trap handling code, which will be split into different files. > > No functional change. > >

[Xen-devel] [PATCH v2 03/18] x86/traps: lift do_guest_trap to domain.h

2017-05-05 Thread Wei Liu
Put it along side with other pv_inject functions and rename it to pv_inject_trap. We need this because this function is used by PV emulation code and PV trap handling code, which will be split into different files. No functional change. Signed-off-by: Wei Liu ---