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

Re: [Xen-devel] [PATCH v8 1/3] xen/libxc: Allow changing max number of hypervisor cpuid leaves



>>> On 21.04.14 at 23:57, <boris.ostrovsky@xxxxxxxxxx> wrote:
> +    if ( (limit < 2) || (limit > XEN_CPUID_MAX_NUM_LEAVES) )
> +        limit = XEN_CPUID_MAX_NUM_LEAVES;

Almost: If limit < 2, you would be better off using 2 rather than the
default (which may be growing).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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