target-i386: set target_phys_bits to 64
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 9 Feb 2011 18:35:50 +0000 (19:35 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 20 Feb 2011 14:13:57 +0000 (15:13 +0100)
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 <aurelien@aurel32.net>
configure

index fe00036dbd91c4a4e48d86ee915884492f45a346..e3cecca62fa0e41cbd6bde6a97e26654dc7779f2 100755 (executable)
--- a/configure
+++ b/configure
@@ -2973,7 +2973,7 @@ TARGET_ABI_DIR=""
 
 case "$target_arch2" in
   i386)
-    target_phys_bits=32
+    target_phys_bits=64
   ;;
   x86_64)
     TARGET_BASE_ARCH=i386