Re: [Xen-devel] [PATCH 08/10] x86/cpuid: Introduce and use default CPUID policies

2020-02-27 Thread Jan Beulich
On 27.02.2020 11:55, Andrew Cooper wrote: > On 27/02/2020 08:19, Jan Beulich wrote: >> On 26.02.2020 21:22, Andrew Cooper wrote: >>> For now, the default and max policies remain identical, but this will change >>> in the future. Write calculate_{pv,hvm}_def_policy() in a way which will >>> cope

Re: [Xen-devel] [PATCH 08/10] x86/cpuid: Introduce and use default CPUID policies

2020-02-27 Thread Andrew Cooper
On 27/02/2020 08:19, Jan Beulich wrote: > On 26.02.2020 21:22, Andrew Cooper wrote: >> For now, the default and max policies remain identical, but this will change >> in the future. Write calculate_{pv,hvm}_def_policy() in a way which will >> cope >> with simple feature differences for now. >>

Re: [Xen-devel] [PATCH 08/10] x86/cpuid: Introduce and use default CPUID policies

2020-02-27 Thread Jan Beulich
On 26.02.2020 21:22, Andrew Cooper wrote: > For now, the default and max policies remain identical, but this will change > in the future. Write calculate_{pv,hvm}_def_policy() in a way which will cope > with simple feature differences for now. > > Update XEN_SYSCTL_get_cpu_policy and

[Xen-devel] [PATCH 08/10] x86/cpuid: Introduce and use default CPUID policies

2020-02-26 Thread Andrew Cooper
For now, the default and max policies remain identical, but this will change in the future. Write calculate_{pv,hvm}_def_policy() in a way which will cope with simple feature differences for now. Update XEN_SYSCTL_get_cpu_policy and init_domain_cpuid_policy() to use the default policies.