From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiPyK-0000WR-Uq for qemu-devel@nongnu.org; Thu, 08 May 2014 11:11:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiPyD-0000ol-3N for qemu-devel@nongnu.org; Thu, 08 May 2014 11:10:56 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53640 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiPyC-0000oO-TQ for qemu-devel@nongnu.org; Thu, 08 May 2014 11:10:49 -0400 Message-ID: <536B9E77.3000403@suse.de> Date: Thu, 08 May 2014 17:10:47 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1399493987-14285-1-git-send-email-ehabkost@redhat.com> <536AB1B2.4030709@suse.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] vl.c: Check max_cpus limit instead of smp_cpus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Igor Mammedov , Marcelo Tosatti , Eduardo Habkost , Anthony Liguori , QEMU Developers Am 08.05.2014 10:26, schrieb Peter Maydell: > On 7 May 2014 23:20, Andreas F=C3=A4rber wrote: >> Am 07.05.2014 23:48, schrieb Peter Maydell: >>> This is confusing. What is max_cpus >> >> Specified via -smp, defaults to actual CPUs. >=20 > I thought that was smp_cpus ... smp_cpus determines how many CPUs are cold-added in a loop in the machine init functions. max_cpus - smp_cpus is the amount of CPUs that may be hot-added later. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg