aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 9fd24b752..2883b076a 100644
--- a/exec.c
+++ b/exec.c
@@ -67,9 +67,13 @@
#define TARGET_PHYS_ADDR_SPACE_BITS 41
#elif defined(TARGET_PPC64)
#define TARGET_PHYS_ADDR_SPACE_BITS 42
-#else
+#elif USE_KQEMU
/* Note: for compatibility with kqemu, we use 32 bits for x86_64 */
#define TARGET_PHYS_ADDR_SPACE_BITS 32
+#elif TARGET_X86_64
+#define TARGET_PHYS_ADDR_SPACE_BITS 42
+#else
+#define TARGET_PHYS_ADDR_SPACE_BITS 32
#endif
#ifdef USE_KVM