Re: [Xen-devel] [PATCH for-next v3 13/22] x86/traps: move toggle_guest_mode

2017-05-30 Thread Jan Beulich
>>> On 30.05.17 at 19:47, wrote: > On 29/05/17 17:05, Jan Beulich wrote: > On 18.05.17 at 19:09, wrote: >>> Move from x86_64/traps.c to pv/traps.c. >> This again doesn't necessarily fit into traps.c (but it's an option). >> Perhaps we want some misc.c or util.c? > > Or pv/domain.c, as this d

Re: [Xen-devel] [PATCH for-next v3 13/22] x86/traps: move toggle_guest_mode

2017-05-30 Thread Andrew Cooper
On 29/05/17 17:05, Jan Beulich wrote: On 18.05.17 at 19:09, wrote: >> Move from x86_64/traps.c to pv/traps.c. > This again doesn't necessarily fit into traps.c (but it's an option). > Perhaps we want some misc.c or util.c? Or pv/domain.c, as this does logically fit with the context switching

Re: [Xen-devel] [PATCH for-next v3 13/22] x86/traps: move toggle_guest_mode

2017-05-29 Thread Jan Beulich
>>> On 18.05.17 at 19:09, wrote: > Move from x86_64/traps.c to pv/traps.c. This again doesn't necessarily fit into traps.c (but it's an option). Perhaps we want some misc.c or util.c? Jan ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lis

[Xen-devel] [PATCH for-next v3 13/22] x86/traps: move toggle_guest_mode

2017-05-18 Thread Wei Liu
Move from x86_64/traps.c to pv/traps.c. No functional change. Signed-off-by: Wei Liu --- xen/arch/x86/pv/traps.c | 30 ++ xen/arch/x86/x86_64/traps.c | 30 -- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/xen/arch/x8