livepatch: resolve old address before function verification
authorBjoern Doebel <doebel@amazon.de>
Wed, 9 Mar 2022 15:22:03 +0000 (16:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Mar 2022 15:22:03 +0000 (16:22 +0100)
commit5142dc5c25e317c208e3dc16d16b664b9f05dab5
tree0ba0d23518c9d04fc416aa7c00cbe9b58db982a6
parentb4f21160601155762a4d014db9623af921fec959
livepatch: resolve old address before function verification

When verifying that a livepatch can be applied, we may as well want to
inspect the target function to be patched. To do so, we need to resolve
this function's address before running the arch-specific
livepatch_verify hook.

Signed-off-by: Bjoern Doebel <doebel@amazon.de>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
xen/common/livepatch.c