summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikunj A Dadhania2014-06-27 08:47:38 +0200
committerAlexander Graf2014-09-08 12:50:49 +0200
commit9674a356267ee9cf8230775f88c90c299a4affc9 (patch)
tree8d13990f9d841e4a66a596be021e92144665e60c
parentppc: Add hw breakpoint watchpoint support (diff)
downloadqemu-9674a356267ee9cf8230775f88c90c299a4affc9.tar.gz
qemu-9674a356267ee9cf8230775f88c90c299a4affc9.tar.xz
qemu-9674a356267ee9cf8230775f88c90c299a4affc9.zip
ppc/spapr: Fix MAX_CPUS to 255
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>
-rw-r--r--hw/ppc/spapr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 2f16d9dcce..555a007e38 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -81,7 +81,7 @@
#define TIMEBASE_FREQ 512000000ULL
-#define MAX_CPUS 256
+#define MAX_CPUS 255
#define PHANDLE_XICP 0x00001111