From patchwork Tue Aug 19 21:33:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Schopp X-Patchwork-Id: 381495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45D97140114 for ; Wed, 20 Aug 2014 07:33:43 +1000 (EST) Received: from localhost ([::1]:53041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJr2D-0006K2-EY for incoming@patchwork.ozlabs.org; Tue, 19 Aug 2014 17:33:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJr1o-00063a-SB for qemu-devel@nongnu.org; Tue, 19 Aug 2014 17:33:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJr1i-0006Dt-Ok for qemu-devel@nongnu.org; Tue, 19 Aug 2014 17:33:16 -0400 Received: from mail-bn1blp0190.outbound.protection.outlook.com ([207.46.163.190]:26942 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJr1i-0006DX-HV for qemu-devel@nongnu.org; Tue, 19 Aug 2014 17:33:10 -0400 Received: from BY1PR0201CA0001.namprd02.prod.outlook.com (25.160.191.139) by CO1PR02MB045.namprd02.prod.outlook.com (10.242.163.19) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Tue, 19 Aug 2014 21:33:08 +0000 Received: from BN1BFFO11FD005.protection.gbl (2a01:111:f400:7c10::1:170) by BY1PR0201CA0001.outlook.office365.com (2a01:111:e400:4814::11) with Microsoft SMTP Server (TLS) id 15.0.1010.18 via Frontend Transport; Tue, 19 Aug 2014 21:33:08 +0000 Received: from atltwp02.amd.com (165.204.84.222) by BN1BFFO11FD005.mail.protection.outlook.com (10.58.144.68) with Microsoft SMTP Server id 15.0.1010.11 via Frontend Transport; Tue, 19 Aug 2014 21:33:07 +0000 X-WSS-ID: 0NAKP74-08-74M-02 X-M-MSG: Received: from satlvexedge01.amd.com (satlvexedge01.amd.com [10.177.96.28]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp02.amd.com (Axway MailGate 5.3.1) with ESMTPS id 21CEBD16083; Tue, 19 Aug 2014 16:33:03 -0500 (CDT) Received: from SATLEXDAG05.amd.com (10.181.40.11) by satlvexedge01.amd.com (10.177.96.28) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 19 Aug 2014 16:33:20 -0500 Received: from joelaarch64.amd.com (10.180.168.240) by satlexdag05.amd.com (10.181.40.11) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 19 Aug 2014 17:33:04 -0400 From: Joel Schopp To: Date: Tue, 19 Aug 2014 16:33:04 -0500 Message-ID: <20140819213304.19537.2834.stgit@joelaarch64.amd.com> User-Agent: StGit/0.17.1-4-g4a0c1 MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019006)(6009001)(428002)(199003)(189002)(74502001)(33646002)(44976005)(46102001)(53416004)(110136001)(77982001)(31966008)(19580405001)(74662001)(50466002)(85306004)(97736001)(68736004)(103116003)(77096002)(83322001)(54356999)(102836001)(97746001)(101416001)(23676002)(99396002)(50986999)(79102001)(19580395003)(81542001)(4396001)(87936001)(81342001)(21056001)(83506001)(92566001)(47776003)(20776003)(80022001)(107046002)(106466001)(229853001)(2351001)(83072002)(64706001)(85852003)(84676001)(105586002)(95666004)(76482001)(92726001)(86362001)(71626003); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR02MB045; H:atltwp02.amd.com; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0308EE423E Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=Joel.Schopp@amd.com; X-OriginatorOrg: amd4.onmicrosoft.com X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.46.163.190 Cc: Peter Maydell Subject: [Qemu-devel] [PATCH] aarch64: raise max_cpus to 8 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org I'm running on a system with 8 cpus and it would be nice to have qemu support all of them. The attached patch does that and has been tested. That said, I'm not sure if 8 is enough or if we want to bump this even higher now before systems with many more cpus come along. 255 anyone? Cc: Peter Maydell Signed-off-by: Joel Schopp --- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 06f4fad..7a09260 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -605,7 +605,7 @@ static QEMUMachine machvirt_a15_machine = { .name = "virt", .desc = "ARM Virtual Machine", .init = machvirt_init, - .max_cpus = 4, + .max_cpus = 8, .has_dynamic_sysbus = true, };