From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0PxT-0007jq-Nk for qemu-devel@nongnu.org; Fri, 27 Jun 2014 02:48:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0PxJ-0002FC-2g for qemu-devel@nongnu.org; Fri, 27 Jun 2014 02:48:27 -0400 Received: from e28smtp06.in.ibm.com ([122.248.162.6]:40948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0PxI-0002DU-28 for qemu-devel@nongnu.org; Fri, 27 Jun 2014 02:48:17 -0400 Received: from /spool/local by e28smtp06.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Jun 2014 12:18:10 +0530 From: Nikunj A Dadhania Date: Fri, 27 Jun 2014 12:17:38 +0530 Message-Id: <1403851658-13128-3-git-send-email-nikunj@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 3/3] ppc/spapr: Fix MAX_CPUS to 255 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, agraf@suse.de Cc: aik@au1.ibm.com, qemu-ppc@nongnu.org, nikunj@linux.vnet.ibm.com 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 --- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 33f77d2..eab0f5f 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -79,7 +79,7 @@ #define TIMEBASE_FREQ 512000000ULL -#define MAX_CPUS 256 +#define MAX_CPUS 255 #define PHANDLE_XICP 0x00001111 -- 1.8.3.1