Patchwork [1/2] target-i386: set target_phys_bits to 64

mail settings
Submitter Aurelien Jarno
Date Feb. 9, 2011, 6:35 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/82513/
State New
Headers show


Aurelien Jarno - Feb. 9, 2011, 6:35 p.m.
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
-    target_phys_bits=32
+    target_phys_bits=64