On 4/12/19 5:50 AM, Glenn Enright wrote:
A recent xsa livepatch failed to generate due to the following
message in create-diff-object.log ...
/livepatch-build-tools/create-diff-object: ERROR: grant_table.o:
kpatch_regenerate_special_section: 1162: group size mismatch for section
.altinstructions
This is similar to the issue reported and fixed in
https://github.com/dynup/kpatch/pull/528 which says ...
"Hard-coding the special section group sizes is unreliable.
Instead, determine them dynamically by finding the related
struct definitions in the DWARF metadata."
Signed-off-by: Glenn Enright <gl...@rimuhosting.com>
---
CC: Ross Lagerwall <ross.lagerw...@citrix.com>
CC: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
This patch resulted in a loadable livepatch. The alt section size in my
case was actually 14.
Thanks for the patch!
Reviewed-by: Ross Lagerwall <ross.lagerw...@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel