From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPzsg-0002OB-QJ for qemu-devel@nongnu.org; Tue, 18 Mar 2014 15:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPzsW-0007WT-Gf for qemu-devel@nongnu.org; Tue, 18 Mar 2014 15:40:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPzsW-0007WJ-9F for qemu-devel@nongnu.org; Tue, 18 Mar 2014 15:40:48 -0400 Message-ID: <5328A135.4010803@redhat.com> Date: Tue, 18 Mar 2014 20:40:37 +0100 From: Laszlo Ersek MIME-Version: 1.0 References: <1395170964-32589-1-git-send-email-ehabkost@redhat.com> In-Reply-To: <1395170964-32589-1-git-send-email-ehabkost@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] Document MAX_CPUMASK_BITS and use it when limiting max_cpus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , qemu-devel@nongnu.org Cc: Igor Mammedov , Hu Tao , =?ISO-8859-1?Q?Andreas_F=E4rber?= , Wanlong Gao , "Michael S. Tsirkin" On 03/18/14 20:29, Eduardo Habkost wrote: > Small rework of patches 6/7 and 7/7 from the previous APIC-ID-limit series I > sent (which broke the build and where reverted). > > Instead of renaming MAX_CPUMASK_BITS like I did previously, just document it > and use it on the (max_cpus > 255) check on vl.c. > > Eduardo Habkost (2): > sysemu.h: Document what MAX_CPUMASK_BITS really limits > vl.c: Use MAX_CPUMASK_BITS macro instead of hardcoded constant > > include/sysemu/sysemu.h | 7 +++++++ > vl.c | 2 +- > 2 files changed, 8 insertions(+), 1 deletion(-) > series Reviewed-by: Laszlo Ersek