]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
create-diff-object: Add support for expectations
authorPawel Wieczorkiewicz <wipawel@amazon.de>
Fri, 5 Oct 2018 08:08:28 +0000 (08:08 +0000)
committerPawel Wieczorkiewicz <wipawel@amazon.de>
Thu, 8 Aug 2019 14:32:25 +0000 (14:32 +0000)
commit3d47fc89e0ea11159be2deed2be02218811f10fe
tree2c1b0b559118b9ffe669a43bc565cd5b602a55d5
parentad60565d21079daf7a71c011d6ff1d2102b35d42
create-diff-object: Add support for expectations

Extend livepatch_patch_func to support a new field: expect. This new
field describes the expected data, its length and whether expectation
is enabled. The expectation's data is of opaque padding size.

Bump the payload version for hotpatches built with expectations.
The expectations are supported starting from version 3 of the payload.

By default the expectation field is zero-out and the expectation is
disabled unless explicitly specified in the patch.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
common.h
create-diff-object.c