Patchwork [V6,10/15] configure: Always use 64bits target physical addresses with xen enabled.

login
register
mail settings
Submitter Anthony PERARD
Date Oct. 21, 2010, 5:36 p.m.
Message ID <1287682587-18642-11-git-send-email-anthony.perard@citrix.com>
Download mbox | patch
Permalink /patch/68745/
State New
Headers show

Comments

Anthony PERARD - Oct. 21, 2010, 5:36 p.m.
From: Anthony PERARD <anthony.perard@citrix.com>

With MapCache, we can handle a 64b target, even with a 32b host/qemu.
So, we need to have target_phys_addr_t to 64bits.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 configure |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/configure b/configure
index d5a8553..f89fa1c 100755
--- a/configure
+++ b/configure
@@ -2926,6 +2926,9 @@  case "$target_arch2" in
     exit 1
   ;;
 esac
+if test "$xen" = yes; then
+  target_phys_bits=64
+fi
 echo "TARGET_ARCH=$TARGET_ARCH" >> $config_target_mak
 target_arch_name="`echo $TARGET_ARCH | tr '[:lower:]' '[:upper:]'`"
 echo "TARGET_$target_arch_name=y" >> $config_target_mak