[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 07/12] livepatch: Add per-function applied/reverted state tracking marker
On 9/28/19 4:13 PM, Pawel Wieczorkiewicz wrote: > Livepatch only tracks an entire payload applied/reverted state. But, > with an option to supply the apply_payload() and/or revert_payload() > functions as optional hooks, it becomes possible to intermix the > execution of the original apply_payload()/revert_payload() functions > with their dynamically supplied counterparts. > It is important then to track the current state of every function > being patched and prevent situations of unintentional double-apply > or unapplied revert. > > To support that, it is necessary to extend public interface of the > livepatch. The struct livepatch_func gets additional field holding > the applied/reverted state marker. > > To reflect the livepatch payload ABI change, bump the version flag > LIVEPATCH_PAYLOAD_VERSION up to 2. > > [And also update the top of the design document] > > Signed-off-by: Pawel Wieczorkiewicz <wipawel@xxxxxxxxx> > Reviewed-by: Andra-Irina Paraschiv <andraprs@xxxxxxxxxx> > Reviewed-by: Bjoern Doebel <doebel@xxxxxxxxx> > Reviewed-by: Martin Pohlack <mpohlack@xxxxxxxxx> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> > Acked-by: Julien Grall <julien.grall@xxxxxxx> Reviewed-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |