Message ID | 1403851658-13128-3-git-send-email-nikunj@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> writes: > MAX_CPUS 256 is inconsistent with qemu supporting upto 255 cpus. This > MAX_CPUS number was percolated back to "virsh capabilities" with wrong > max_cpus. Agraf, ping
On 27.06.14 08:47, Nikunj A Dadhania wrote: > MAX_CPUS 256 is inconsistent with qemu supporting upto 255 cpus. This > MAX_CPUS number was percolated back to "virsh capabilities" with wrong > max_cpus. > > Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Nice one :). Thanks, applied to ppc-next-2.2. Alex
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 33f77d2..eab0f5f 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -79,7 +79,7 @@ #define TIMEBASE_FREQ 512000000ULL -#define MAX_CPUS 256 +#define MAX_CPUS 255 #define PHANDLE_XICP 0x00001111
MAX_CPUS 256 is inconsistent with qemu supporting upto 255 cpus. This MAX_CPUS number was percolated back to "virsh capabilities" with wrong max_cpus. Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> --- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)