Re: [PATCH 1/2] Livepatch: resolve old address before function verification

2022-03-08 Thread Ross Lagerwall
> From: Bjoern Doebel > Sent: Monday, March 7, 2022 11:53 AM > To: xen-devel@lists.xenproject.org > Cc: Michael Kurth ; Martin Pohlack ; > Roger Pau Monne ; Andrew Cooper > ; Bjoern Doebel ; Konrad > Rzeszutek Wilk ; Ross Lagerwall > > Subject: [PATCH 1/2] Liv

[PATCH 1/2] Livepatch: resolve old address before function verification

2022-03-07 Thread Bjoern Doebel
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 CC: Konrad Rzeszutek Wilk CC: Ross Lagerwall