From 55a035a69544289efdba39b8ac3aec9f8686cd73 Mon Sep 17 00:00:00 2001 From: Izik Eidus Date: Tue, 21 Aug 2007 12:45:03 +0300 Subject: Increase TARGET_PHYS_ADDR_SPACE_BITS for large memory guests --- exec.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3