From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnq44-0001G3-9Y for qemu-devel@nongnu.org; Tue, 03 Dec 2013 08:31:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vnq3w-0006ul-OW for qemu-devel@nongnu.org; Tue, 03 Dec 2013 08:31:00 -0500 Message-ID: <529DDD08.4030206@suse.de> Date: Tue, 03 Dec 2013 14:30:48 +0100 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1385350750-21468-1-git-send-email-aik@ozlabs.ru> <529CBE15.8010206@msgid.tls.msk.ru> <529D0533.7090402@suse.de> <529D11C5.2080505@ozlabs.ru> In-Reply-To: <529D11C5.2080505@ozlabs.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] vl: remove (max_cpus > 255) check from smp_parse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-trivial@nongnu.org, Igor Mammedov , Michael Tokarev , qemu-devel@nongnu.org, Eduardo Habkost Am 03.12.2013 00:03, schrieb Alexey Kardashevskiy: > On 12/03/2013 09:09 AM, Andreas F=C3=A4rber wrote: >> Am 02.12.2013 18:06, schrieb Michael Tokarev: >>> 25.11.2013 07:39, Alexey Kardashevskiy wrote: >>>> Since modern POWER7/POWER8 chips can have more that 256 CPU threads >>>> (>2000 actually), remove this check from smp_parse. >>>> >>>> The CPUs number is still checked against machine->max_cpus and this = check >>>> should be enough not to break other archs. >> >> "should be" is not exactly the highest level of confidence for a >> "trivial" patch... :/ [...] >> Alexey, did you actually check that, e.g., x86 machines don't break wi= th >> 256 or 257 CPUs now? >=20 > PC_DEFAULT_MACHINE_OPTIONS sets it to 255. And I cannot find any machin= e > which would not define max_cpus, have I missed any? If you've actually *checked* the other machines' code then fine with me, just say so in the commit message. :) Cheers, 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