From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKTyR-00013D-Kd for qemu-devel@nongnu.org; Thu, 21 Aug 2014 11:08:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKTyM-00073H-IK for qemu-devel@nongnu.org; Thu, 21 Aug 2014 11:08:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKTyM-000728-Al for qemu-devel@nongnu.org; Thu, 21 Aug 2014 11:08:18 -0400 Message-ID: <53F60B56.9000107@redhat.com> Date: Thu, 21 Aug 2014 10:08:06 -0500 From: Wei Huang MIME-Version: 1.0 References: <1408632683-26861-1-git-send-email-wehuang@redhat.com> <53F6093C.5050501@amd.com> In-Reply-To: <53F6093C.5050501@amd.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/1] hw/arm/virt: increase max SMP CPU support to 8 for ARM virt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joel Schopp , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, kvmarm@lists.cs.columbia.edu On 08/21/2014 09:59 AM, Joel Schopp wrote: > > On 08/21/2014 09:51 AM, Wei Huang wrote: >> Current ARM virt model supports up to 4 CPUs. Given that many recent >> ARM servers contain 8 or more cores, it is time to bump up max guest CPUs >> to 8. This patch was tested with a VM runnng 3.15 Linux kernel. All 8 >> VCPUs showed up. >> >> Signed-off-by: Wei Huang > Great minds think alike :) > http://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg03306.html Oops, I missed this one. Thanks for pointing it out. :P > > >> --- >> 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 ba94298..73a2a0f 100644 >> --- a/hw/arm/virt.c >> +++ b/hw/arm/virt.c >> @@ -520,7 +520,7 @@ static QEMUMachine machvirt_a15_machine = { >> .name = "virt", >> .desc = "ARM Virtual Machine", >> .init = machvirt_init, >> - .max_cpus = 4, >> + .max_cpus = 8, >> }; >> static void machvirt_machine_init(void) > >