Re: [Xen-devel] [PATCH v4 9/9] livepach: Add .livepatch.hooks functions and test-case

2016-09-07 Thread Konrad Rzeszutek Wilk
On Tue, Sep 06, 2016 at 07:25:23PM +0100, Andrew Cooper wrote: > On 06/09/16 18:22, Konrad Rzeszutek Wilk wrote: > > On Tue, Aug 23, 2016 at 10:22:12PM -0400, Konrad Rzeszutek Wilk wrote: > >> From: Ross Lagerwall > >> > >> Add hook functions which run during patch apply and patch revert. > >> Hoo

Re: [Xen-devel] [PATCH v4 9/9] livepach: Add .livepatch.hooks functions and test-case

2016-09-06 Thread Andrew Cooper
On 06/09/16 18:22, Konrad Rzeszutek Wilk wrote: > On Tue, Aug 23, 2016 at 10:22:12PM -0400, Konrad Rzeszutek Wilk wrote: >> From: Ross Lagerwall >> >> Add hook functions which run during patch apply and patch revert. >> Hook functions are used by livepatch payloads to manipulate data >> structures

Re: [Xen-devel] [PATCH v4 9/9] livepach: Add .livepatch.hooks functions and test-case

2016-09-06 Thread Konrad Rzeszutek Wilk
On Tue, Aug 23, 2016 at 10:22:12PM -0400, Konrad Rzeszutek Wilk wrote: > From: Ross Lagerwall > > Add hook functions which run during patch apply and patch revert. > Hook functions are used by livepatch payloads to manipulate data > structures during patching, etc. > > One use case is the XSA91.

[Xen-devel] [PATCH v4 9/9] livepach: Add .livepatch.hooks functions and test-case

2016-08-23 Thread Konrad Rzeszutek Wilk
From: Ross Lagerwall Add hook functions which run during patch apply and patch revert. Hook functions are used by livepatch payloads to manipulate data structures during patching, etc. One use case is the XSA91. As Martin mentions it: "If we have shadow variables, we also need an unload hook to