Re: [Xen-devel] [PATCH v5 16/28] xsplice: Add support for bug frames.

2016-04-01 Thread Jan Beulich
>>> On 24.03.16 at 21:00, wrote: > --- a/xen/common/xsplice.c > +++ b/xen/common/xsplice.c > @@ -120,6 +120,24 @@ static int verify_payload(const > xen_sysctl_xsplice_upload_t *upload) > return 0; > } > > +bool_t is_patch(const void *ptr) > +{ > +struct payload *data; > + > +/* >

[Xen-devel] [PATCH v5 16/28] xsplice: Add support for bug frames.

2016-03-24 Thread Konrad Rzeszutek Wilk
From: Ross Lagerwall Add support for handling bug frames contained with xsplice modules. If a trap occurs search either the kernel bug table or an applied payload's bug table depending on the instruction pointer. We also include a test-case - which will test the function that was patched to make