On 21.09.2026 13:46, Nicola Vetrini wrote:
> On 2026-09-02 08:33, Jan Beulich wrote:
>> Like x86/HVM's __hvm_copy(), Arm's copy_guest() is used for both
>> to-guest
>> and from-guest copying. Naturally in the latter case the hypervisor
>> buffer
>> needs writing to, hence the function parameter cannot be
>> pointer-to-const.
>>
>> No functional change intended.
>>
>> Signed-off-by: Jan Beulich <[email protected]>
>
> Reviewed-by: Nicola Vetrini <[email protected]>
Thanks.
> See comment below, but I can do as a follow-up if you'd like.
>
>> ---
>> Of course for both the pre-existing x86 deviation and the new Arm one
>> it
>> might be more robust if the deviation was also limited to the
>> respective
>> source file. Can this be expressed together with the needed regex?
>
> Yes, e.g.
>
> -config=MC3A2.R11.8,reports+={safe,"any_area(any_loc(file(^xen/arch/arm/...$)&&text(^.*copy_guest.*COPY_to_guest
>
> doesn't modify.*$)))"}
>
> not compile-tested, so YMMV.
Yes, please make this a follow-up, then also covering the x86 counterpart.
Jan