[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 07/25] x86/cpuid: Dispatch cpuid_hypervisor_leaves() from guest_cpuid()
>>> On 09.01.17 at 12:03, <andrew.cooper3@xxxxxxxxxx> wrote: > --- a/xen/arch/x86/cpuid.c > +++ b/xen/arch/x86/cpuid.c > @@ -346,7 +346,10 @@ void guest_cpuid(const struct vcpu *v, uint32_t leaf, > case 0x40000000 ... 0x400000ff: > if ( is_viridian_domain(d) ) > return cpuid_viridian_leaves(v, leaf, subleaf, res); > - break; > + > + /* Fallthrough. */ > + case 0x40000100 ... 0x4fffffff: > + return cpuid_hypervisor_leaves(v, leaf, subleaf, res); Based on what was the upper bound here chosen? It would be rather helpful if you could leave a pointer to whatever source here in a comment. I would have expected 0x4000ffff or 0x7fffffff here ... Other than that Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |