On 01/15/2016 04:58 PM, Konrad Rzeszutek Wilk wrote:
Or you can use git://github.com/rosslagerwall/xsplice-build.git tool
(it will need an extra patch, will send that shortly) - which
generates the ELF payloads.
This link has a nice description of how to use the tool:
http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg02595.html
Attached.
Thanks. I've applied it with a couple of changes:
https://github.com/rosslagerwall/xsplice-build/commit/25d7b7d6c96c1ab44345cbfd62425f4672714a53
Firstly, reorganizing the struct requires the relocations to be
calculated differently.
Secondly, I dropped the change to lookup.h to reduce the delta between
xsplice-build and kpatch-build.
I've done a little testing and patch modules built with the tool can now
be applied correctly to a build of your xsplice.v2 branch.
--
Ross Lagerwall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel