]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commit
create-diff-object: Do not create empty .livepatch.funcs section
authorPawel Wieczorkiewicz <wipawel@amazon.de>
Sun, 21 Oct 2018 14:42:11 +0000 (14:42 +0000)
committerPawel Wieczorkiewicz <wipawel@amazon.de>
Thu, 8 Aug 2019 08:56:26 +0000 (08:56 +0000)
commit9193724d69294f48dfe8064fb507649ba38e2d7c
treeea0507864f7ed57b64adaa6371959883c6f70014
parentccabd458076bc0bbcef8535a09de97e8190babc9
create-diff-object: Do not create empty .livepatch.funcs section

When there is no changed function in the generated payload, do not
create an empty .livepatch.funcs section. Hypervisor code considers
such payloads as broken and rejects to load them.

Such payloads without any changed functions may appear when only
hooks are specified.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
Reviewed-by: Martin Mazein <amazein@amazon.de>
Reviewed-by: Martin Pohlack <mpohlack@amazon.de>
create-diff-object.c