ppc/spapr: Fix MAX_CPUS to 255
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.
Signed-off-by Nikunj A Dadhania <[email protected]>
--- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/spapr.c +1 -1
@@ -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
Quoted 3 lines · Nikunj A Dadhania
MAX_CPUS256 is inconsistent with qemu supporting upto 255 cpus. ThisMAX_CPUSnumber was percolated back to "virsh capabilities" with wrongmax_cpus.
Agraf, ping
Quoted 5 lines · Nikunj A Dadhania
MAX_CPUS256 is inconsistent with qemu supporting upto 255 cpus. ThisMAX_CPUSnumber was percolated back to "virsh capabilities" with wrongmax_cpus.Signed-off-by Nikunj A Dadhania <[email protected]>
Nice one :). Thanks, applied to ppc-next-2.2.
Alex