Re: [Qemu-devel] [PATCH qemu] spapr: Use QEMU limit for maximum CPUs number

2015-08-11 Thread David Gibson
On Thu, Aug 06, 2015 at 01:37:24PM +1000, Alexey Kardashevskiy wrote: > sPAPR uses hard coded limit of maximum 255 supported CPUs which is > exactly the same as QEMU-wide limit which is MAX_CPUMASK_BITS and also > defined as 255. > > This makes use of a global CPU number limit for the "pseries" ma

[Qemu-devel] [PATCH qemu] spapr: Use QEMU limit for maximum CPUs number

2015-08-05 Thread Alexey Kardashevskiy
sPAPR uses hard coded limit of maximum 255 supported CPUs which is exactly the same as QEMU-wide limit which is MAX_CPUMASK_BITS and also defined as 255. This makes use of a global CPU number limit for the "pseries" machine. In order to anticipate future increase of the MAX_CPUMASK_BITS (or to he