aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@au1.ibm.com>2011-04-19 11:54:50 +1000
committerAlexander Graf <agraf@suse.de>2011-05-09 22:31:37 +0200
commit41019fecc83c466faeddbc6b3784a447516c03a7 (patch)
tree84eae4e857347c7ca786502f773a35a4af13d34f /hw/spapr.c
parent0225e254ae81c5638463cda8f5730f31619113b6 (diff)
pseries: Increase maximum CPUs to 256
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>
Diffstat (limited to 'hw/spapr.c')
-rw-r--r--hw/spapr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr.c b/hw/spapr.c
index 1782cc0a94..67dd1e5890 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -51,7 +51,7 @@
#define TIMEBASE_FREQ 512000000ULL
-#define MAX_CPUS 32
+#define MAX_CPUS 256
#define XICS_IRQS 1024
sPAPREnvironment *spapr;