From patchwork Wed Feb 9 18:35:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 82513 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D436DB70EC for ; Thu, 10 Feb 2011 05:37:25 +1100 (EST) Received: from localhost ([127.0.0.1]:33004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnEup-0004TR-8k for incoming@patchwork.ozlabs.org; Wed, 09 Feb 2011 13:37:23 -0500 Received: from [140.186.70.92] (port=52682 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnEtJ-0004Ry-36 for qemu-devel@nongnu.org; Wed, 09 Feb 2011 13:35:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnEtH-0004XL-OI for qemu-devel@nongnu.org; Wed, 09 Feb 2011 13:35:48 -0500 Received: from hall.aurel32.net ([88.191.126.93]:39954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnEtH-0004XC-I3 for qemu-devel@nongnu.org; Wed, 09 Feb 2011 13:35:47 -0500 Received: from [2001:470:d4ed:0:5e26:aff:fe2b:6f5b] (helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PnEtG-0000wh-VW; Wed, 09 Feb 2011 19:35:47 +0100 Received: from aurel32 by volta.aurel32.net with local (Exim 4.72) (envelope-from ) id 1PnEtP-0001Di-88; Wed, 09 Feb 2011 19:35:55 +0100 From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Wed, 9 Feb 2011 19:35:50 +0100 Message-Id: <1297276551-4655-1-git-send-email-aurelien@aurel32.net> X-Mailer: git-send-email 1.7.2.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 88.191.126.93 Cc: Aurelien Jarno Subject: [Qemu-devel] [PATCH 1/2] target-i386: set target_phys_bits to 64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org qemu i386 used to support more than 4GB of RAM through PAE, but it has been disabled for an unknown reason. Reenable it. Note that simply running qemu x86_64 and emulating a 32-bit CPU is not a solution to this problem as it is about 15% slower (it needs to emulate 64 bit registers even if half of them are not used). On the other hand, I haven't seen any measurable impact by switching target_phys_bits to 64. Signed-off-by: Aurelien Jarno --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 598e8e1..563adf4 100755 --- a/configure +++ b/configure @@ -2909,7 +2909,7 @@ TARGET_ABI_DIR="" case "$target_arch2" in i386) - target_phys_bits=32 + target_phys_bits=64 ;; x86_64) TARGET_BASE_ARCH=i386