Re: [Xen-devel] [PATCH v5 07/13] x86/traps: simplify and rename send_guest_trap

2017-06-27 Thread Andrew Cooper
On 27/06/17 19:21, Jan Beulich wrote: Wei Liu 06/26/17 6:29 PM >>> >> Rename it to pv_raise_interrupt. > Is "interrupt" really a suitable term here? These are all exceptions being > raised, not (external) interrupts. This function is really NMIs and MCEs only, and it only gets used for the f

Re: [Xen-devel] [PATCH v5 07/13] x86/traps: simplify and rename send_guest_trap

2017-06-27 Thread Jan Beulich
>>> Wei Liu 06/26/17 6:29 PM >>> >Rename it to pv_raise_interrupt. Is "interrupt" really a suitable term here? These are all exceptions being raised, not (external) interrupts. Jan ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.

Re: [Xen-devel] [PATCH v5 07/13] x86/traps: simplify and rename send_guest_trap

2017-06-27 Thread Andrew Cooper
On 26/06/17 17:28, Wei Liu wrote: > Rename it to pv_raise_interrupt. Simplify the code by using the vcpu > structure already at hand in the caller. double space. > > Signed-off-by: Wei Liu Reviewed-by: Andrew Cooper ___ Xen-devel mailing list Xen-d

[Xen-devel] [PATCH v5 07/13] x86/traps: simplify and rename send_guest_trap

2017-06-26 Thread Wei Liu
Rename it to pv_raise_interrupt. Simplify the code by using the vcpu structure already at hand in the caller. Signed-off-by: Wei Liu --- xen/arch/x86/traps.c | 13 - xen/include/asm-x86/pv/traps.h | 8 xen/include/asm-x86/traps.h| 9 - 3 files change