|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 23/28] xsplice: Stacking build-id dependency checking.
On 04/04/2016 09:01 PM, Konrad Rzeszutek Wilk wrote: On Mon, Apr 04, 2016 at 09:00:00AM -0600, Jan Beulich wrote:On 24.03.16 at 21:00, <konrad.wilk@xxxxxxxxxx> wrote:@@ -929,6 +932,33 @@ being loaded and requires an hypervisor build-id to match against. The old code allows much more flexibility and an additional guard, but is more complex to implement. +The second option which requires an build-id of the hypervisor +is implemented in the Xen Project hypervisor. + +Specifically each payload has two build-id ELF notes: + * The build-id of the payload itself (generated via --build-id). + * The build-id of the payload it depends on (extracted from the + the previous payload or hypervisor during build time). + +This means that the very first payload depends on the hypervisor +build-id.So this is mean to be a singly linked chain, not something with branches and alike, allowing independent patches to be applied solely based on the base build ID? Is such a restriction not goingCorrect.to get in the way rather sooner than later? I don't think checking old code provides any real safety though. What if the function I'm replacing is unchanged (so it passes the old code check) but it calls some other function whose behavior has changed? It's somewhat telling that the publicly available binary patches for kSplice always use a linear stack of patches with dependency management done in userspace, despite having old code checking. What kSplice use in practice is exactly what is implemented here; a linear stack of patches using some sort of identifier (build-id/uuid). -- Ross Lagerwall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |