Received: from eggs.gnu.org ([2001:4830:134:3::10]:49595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXBQN-0004Iy-Ri for qemu-devel@nongnu.org; Tue, 09 Aug 2016 14:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXBQH-0004vM-QD for qemu-devel@nongnu.org; Tue, 09 Aug 2016 14:06:46 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:33033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXBQH-0004vD-J3 for qemu-devel@nongnu.org; Tue, 09 Aug 2016 14:06:41 -0400 Received: by mail-pf0-x241.google.com with SMTP id i6so1258205pfe.0 for ; Tue, 09 Aug 2016 11:06:41 -0700 (PDT) Sender: Richard Henderson References: <1470758127-17769-1-git-send-email-alex.bennee@linaro.org> <1470758127-17769-2-git-send-email-alex.bennee@linaro.org> From: Richard Henderson Message-ID: <779486c3-29cf-46fd-37be-2d358b6fcdd2@twiddle.net> Date: Tue, 9 Aug 2016 23:36:35 +0530 MIME-Version: 1.0 In-Reply-To: <1470758127-17769-2-git-send-email-alex.bennee@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC for 2.8 1/3] configure: check CPU width and disable larger guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org On 08/09/2016 09:25 PM, Alex Bennée wrote: > - ia64|ppc|ppc64|s390|s390x|sparc64|x32) > + ppc|s390|x32) > cpu="$cpu" > + cpu_width=32 > + ;; > + ia64|ppc64|s390x|sparc64) > + cpu="$cpu" > + cpu_width=64 > ;; > i386|i486|i586|i686|i86pc|BePC) > cpu="i386" > + cpu_width=32 > ;; > x86_64|amd64) > cpu="x86_64" > + cpu_width=64 > ;; > armv*b|armv*l|arm) > cpu="arm" > + cpu_width=32 > ;; > aarch64) > cpu="aarch64" > + cpu_width=32 > ;; > mips*) > cpu="mips" > ;; > sparc|sun4[cdmuv]) > cpu="sparc" > + cpu_width=32 Note that x32 and sparc are both 64-bit hosts with 32-bit pointers (we don't support sparcv8 as a host anymore, just sparcv8+, aka sparcv9 in a 32-bit context). Not that I believe these to be interesting hosts, since VMA space is half the battle when it comes to emulation. r~