]> git.proxmox.com Git - qemu.git/commitdiff
pseries: Increase maximum CPUs to 256
authorAnton Blanchard <anton@au1.ibm.com>
Tue, 19 Apr 2011 01:54:50 +0000 (11:54 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 9 May 2011 20:31:37 +0000 (22:31 +0200)
The original pSeries machine was limited to 32 CPUs, more or less
arbitrarily.  Particularly when we get SMT KVM guests it will be
pretty easy to exceed this.  Therefore, raise the max number of CPUs
in a pseries machine guest to 256.

Signed-off-by: Anton Blanchard <anton@au1.ibm.com>
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c

index 1782cc0a943a0c6be547b528078782e40f2aa991..67dd1e5890d44a9bdab5f6ccc565dfcd4b4629a4 100644 (file)
@@ -51,7 +51,7 @@
 
 #define TIMEBASE_FREQ           512000000ULL
 
-#define MAX_CPUS                32
+#define MAX_CPUS                256
 #define XICS_IRQS              1024
 
 sPAPREnvironment *spapr;