Re: [Xen-devel] [PATCH 1/4] x86/pv: Drop int80_bounce from struct pv_vcpu

2017-05-09 Thread Andrew Cooper
On 09/05/17 15:49, Jan Beulich wrote: On 08.05.17 at 17:48, wrote: >> --- a/xen/arch/x86/x86_64/entry.S >> +++ b/xen/arch/x86/x86_64/entry.S >> @@ -233,12 +233,36 @@ UNLIKELY_END(msi_check) >> >> GET_CURRENT(bx) >> >> -/* Check that the callback is non-null. */ >> -

Re: [Xen-devel] [PATCH 1/4] x86/pv: Drop int80_bounce from struct pv_vcpu

2017-05-09 Thread Jan Beulich
>>> On 08.05.17 at 17:48, wrote: > --- a/xen/arch/x86/x86_64/entry.S > +++ b/xen/arch/x86/x86_64/entry.S > @@ -233,12 +233,36 @@ UNLIKELY_END(msi_check) > > GET_CURRENT(bx) > > -/* Check that the callback is non-null. */ > -leaq VCPU_int80_bounce(%rbx),%rdx > -

[Xen-devel] [PATCH 1/4] x86/pv: Drop int80_bounce from struct pv_vcpu

2017-05-08 Thread Andrew Cooper
The int80_bounce field of struct pv_vcpu is a bit of an odd special case, because it is a simple derivation of trap_ctxt[0x80], which is also stored. It is also the only use of {compat_,}create_bounce_frame() which isn't referencing the plain trap_bounce field of struct pv_vcpu. (And altering thi