>>> 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;
> +
> +/*
>
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