[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/sysctl: Don't return cpu policy data for compiled-out support

On 25.02.2020 18:31, Andrew Cooper wrote:
> Policy objects aren't tiny, and the derivation logic isn't trivial.  We are
> about to increase the number of policy objects, so take this opportunity to
> drop logic and storage space based on CONFIG_{PV,HVM}.

It doesn't look as if you were dropping either logic or storage space. With
this aspect taken care of (by adjusting wording, or by clarification of what
is meant) ...

> Start by causing XEN_SYSCTL_get_cpu_policy to fail with -EOPNOTSUPP when
> requesting data for a compiled-out subsystem.  Update xen-cpuid to cope and
> continue to further system policies, seeing as the indicies are interleaved.
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.