Re: [PATCH v7 05/26] x86/fpu/xstate: Introduce fpu_guest_cfg for guest FPU configuration

From: Edgecombe, Rick P
Date: Tue Nov 28 2023 - 09:58:37 EST


On Fri, 2023-11-24 at 00:53 -0500, Yang Weijiang wrote:
> +       /*
> +        * Set guest's __user_state_size to fpu_user_cfg.default_size
> so that
> +        * existing uAPIs can still work.
> +        */
> +       fpu->guest_perm.__user_state_size =
> fpu_user_cfg.default_size;

It seems like an appropriate value, but where does this come into play
exactly for guest FPUs?