Received: from eggs.gnu.org ([2001:4830:134:3::10]:53299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlbtI-0002IG-Dc for qemu-devel@nongnu.org; Mon, 12 Oct 2015 08:07:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlbtE-0003bo-AP for qemu-devel@nongnu.org; Mon, 12 Oct 2015 08:07:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlbtE-0003be-6L for qemu-devel@nongnu.org; Mon, 12 Oct 2015 08:07:40 -0400 Date: Mon, 12 Oct 2015 14:07:35 +0200 From: Andrew Jones Message-ID: <20151012120735.GA4786@hawk.localdomain> References: <1444142228-6696-1-git-send-email-drjones@redhat.com> <1444142228-6696-3-git-send-email-drjones@redhat.com> <016101d104bb$a8988ba0$f9c9a2e0$@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <016101d104bb$a8988ba0$f9c9a2e0$@samsung.com> Subject: Re: [Qemu-devel] [PATCH 2/2] hw/arm/virt: don't use a15memmap directly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Fedin Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, afaerber@suse.de On Mon, Oct 12, 2015 at 10:00:19AM +0300, Pavel Fedin wrote: > Hello! > > > Before this patch it would complain that the requested > > number of cpus was greater than 123, but for gicv2 configs, it > > should complain that the number is greater than 8. > > Actually, gicv2 code has own check, and it would complain about >8 CPU (see > arm_gic_common_realize()). It only gets a chance to do that check if the class init check doesn't fail first, i.e. nr_cpus > 8 <= 123 will fail with a "> 8" message, but nr_cpus > 123, as I wrote above, will fail with a "> 123" message. drew > > Kind regards, > Pavel Fedin > Expert Engineer > Samsung Electronics Research center Russia > > >