Skip to contentSkip to conversation

ppc/spapr: Fix MAX_CPUS to 255

PATCH In review Nikunj A Dadhania 2 participants 3 messages Jun 27, 2014 – Jul 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 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.

---
 hw/ppc/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/spapr.c +1 -1
index 33f77d2..eab0f5f 100644
@@ -79,7 +79,7 @@
 
 #define TIMEBASE_FREQ           512000000ULL
 
-#define MAX_CPUS                256
+#define MAX_CPUS                255
 
 #define PHANDLE_XICP            0x00001111
 
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 3 lines · Nikunj A Dadhania

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