2023-12-04 15:51:30

by Janosch Frank

[permalink] [raw]
Subject: Re: [PATCH v3 2/4] KVM: s390: vsie: Fix length of facility list shadowed

On 11/8/23 18:12, Nina Schoetterl-Glausch wrote:
> The length of the facility list accessed when interpretively executing
> STFLE is the same as the hosts facility list (in case of format-0)
> When shadowing, copy only those bytes.
> The memory following the facility list need not be accessible, in which

...doesn't need to be accessible but the current implementation is
possibly checking for it to be accessible.

Let's fix that by checking the length that stfle returns to KVM instead
of a fixed value.

>
> Acked-by: David Hildenbrand <[email protected]>
> Reviewed-by: Claudio Imbrenda <[email protected]>
> Signed-off-by: Nina Schoetterl-Glausch <[email protected]>
[...]