ppc/spapr: Fix MAX_CPUS to 255
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Fri, 27 Jun 2014 06:47:38 +0000 (12:17 +0530)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:49 +0000 (12:50 +0200)
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>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c

index 2f16d9dcced904122b367b2128059376d88c981f..555a007e38733837e8bc0d87d2ae37e6b9ef9fd7 100644 (file)
@@ -81,7 +81,7 @@
 
 #define TIMEBASE_FREQ           512000000ULL
 
-#define MAX_CPUS                256
+#define MAX_CPUS                255
 
 #define PHANDLE_XICP            0x00001111