On 28.03.2023 12:27, Andrew Cooper wrote:
> On 27/03/2023 4:43 pm, Jan Beulich wrote:
>> On 24.03.2023 23:08, Andrew Cooper wrote:
>>> * For backporting, this patch depends on c/s e7f147bf4ac7 ("x86/crash: Drop
>>> manual hooking of exception_table[]") and c/s e7db635f4428 ("x86/pv-shim:
>>> Don't modify the hypercall table"). No compile error will occur from
>>> getting these dependencies wrong.
>> I suppose the latter isn't strictly a prereq, as the modification was done
>> from an __init function (i.e. before this new code runs).
>
> This code here runs long before pv_shim_setup_dom(). This dependency
> was found experimentally via testing IIRC.
Oh, of course. I was mistakenly associating the new code with init_done().
(Iirc this was because the only sensible search hit for ".rodata" was
there, and I didn't pay enough attention to context.)
Jan