[Xen-devel] [PATCH 07/10] x86/cpuid: Compile out unused logic/objects

2020-02-26 Thread Andrew Cooper
CPUID Policy objects are large (1860 bytes at the time of writing), so compiling them out based on CONFIG_{PV,HVM} makes a lot of sense. This involves a bit of complexity in init_domain_cpuid_policy() and recalculate_cpuid_policy() as is_pv_domain() can't be evaulated at compile time. Signed-off-

Re: [Xen-devel] [PATCH 07/10] x86/cpuid: Compile out unused logic/objects

2020-02-27 Thread Jan Beulich
On 26.02.2020 21:22, Andrew Cooper wrote: > CPUID Policy objects are large (1860 bytes at the time of writing), so > compiling them out based on CONFIG_{PV,HVM} makes a lot of sense. > > This involves a bit of complexity in init_domain_cpuid_policy() and > recalculate_cpuid_policy() as is_pv_domai