On 08/06/17 18:11, Wei Liu wrote: > Signed-off-by: Wei Liu <wei.l...@citrix.com> > Acked-by: Jan Beulich <jbeul...@suse.com> > --- > xen/arch/x86/pv/traps.c | 14 ++++++++++++++ > xen/arch/x86/x86_64/traps.c | 14 -------------- > 2 files changed, 14 insertions(+), 14 deletions(-) > > diff --git a/xen/arch/x86/pv/traps.c b/xen/arch/x86/pv/traps.c > index 0c1600d886..f2556c7e4a 100644 > --- a/xen/arch/x86/pv/traps.c > +++ b/xen/arch/x86/pv/traps.c > @@ -342,6 +342,20 @@ int send_guest_trap(struct domain *d, uint16_t vcpuid, > unsigned int trap_nr) > return -EIO; > } > > +void init_int80_direct_trap(struct vcpu *v) > +{ > + struct trap_info *ti = &v->arch.pv_vcpu.trap_ctxt[0x80]; > + struct trap_bounce *tb = &v->arch.pv_vcpu.int80_bounce; > + > + tb->cs = ti->cs; > + tb->eip = ti->address;
Mind reducing the spaces here? Otherwise, Reviewed-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel