Re: [Xen-devel] [PATCH v1 08/11] xsplice: Implement support for applying patches

2015-11-27 Thread Martin Pohlack
On 03.11.2015 19:16, Ross Lagerwall wrote: > Implement support for the apply, revert and replace actions. > > To perform and action on a payload, the hypercall sets up a data > structure to schedule the work. A hook is added in all the > return-to-guest paths to check for work to do and execute i

Re: [Xen-devel] [PATCH v1 08/11] xsplice: Implement support for applying patches

2015-11-05 Thread Konrad Rzeszutek Wilk
On Thu, Nov 05, 2015 at 11:45:42AM +, Ross Lagerwall wrote: > On 11/05/2015 03:17 AM, Konrad Rzeszutek Wilk wrote: > snip > >>diff --git a/xen/arch/x86/xsplice.c b/xen/arch/x86/xsplice.c > >>index dbff0d5..31e4124 100644 > >>--- a/xen/arch/x86/xsplice.c > >>+++ b/xen/arch/x86/xsplice.c > >>@@ -

Re: [Xen-devel] [PATCH v1 08/11] xsplice: Implement support for applying patches

2015-11-05 Thread Ross Lagerwall
On 11/05/2015 03:17 AM, Konrad Rzeszutek Wilk wrote: snip diff --git a/xen/arch/x86/xsplice.c b/xen/arch/x86/xsplice.c index dbff0d5..31e4124 100644 --- a/xen/arch/x86/xsplice.c +++ b/xen/arch/x86/xsplice.c @@ -3,6 +3,25 @@ #include #include +#define PATCH_INSN_SIZE 5 + +void xsplice_apply

Re: [Xen-devel] [PATCH v1 08/11] xsplice: Implement support for applying patches

2015-11-04 Thread Konrad Rzeszutek Wilk
. snip.. > +void do_xsplice(void) > +{ .. snip.. > + > +xsplice_work.do_work = 0; = false ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v1 08/11] xsplice: Implement support for applying patches

2015-11-04 Thread Konrad Rzeszutek Wilk
On Tue, Nov 03, 2015 at 06:16:05PM +, Ross Lagerwall wrote: > Implement support for the apply, revert and replace actions. > > To perform and action on a payload, the hypercall sets up a data > structure to schedule the work. A hook is added in all the > return-to-guest paths to check for wor

[Xen-devel] [PATCH v1 08/11] xsplice: Implement support for applying patches

2015-11-03 Thread Ross Lagerwall
Implement support for the apply, revert and replace actions. To perform and action on a payload, the hypercall sets up a data structure to schedule the work. A hook is added in all the return-to-guest paths to check for work to do and execute it if needed. In this way, patches can be applied with