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

login
register
mail settings
Submitter Anthony PERARD
Date March 1, 2011, 6:35 p.m.
Message ID <1299004529-31290-11-git-send-email-anthony.perard@citrix.com>
Download mbox | patch
Permalink /patch/84976/
State New
Headers show

Comments

Anthony PERARD - March 1, 2011, 6:35 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>
Acked-by: Alexander Graf <agraf@suse.de>
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/configure b/configure
index 4fd8696..ecab08c 100755
--- a/configure
+++ b/configure
@@ -3171,6 +3171,7 @@  echo "TARGET_ABI_DIR=$TARGET_ABI_DIR" >> $config_target_mak
 case "$target_arch2" in
   i386|x86_64)
     if test "$xen" = "yes" -a "$target_softmmu" = "yes" ; then
+      target_phys_bits=64
       echo "CONFIG_XEN=y" >> $config_target_mak
       if test "$cpu" = "i386" -o "$cpu" = "x86_64"; then
           echo "CONFIG_XEN_MAPCACHE=y" >> $config_target_mak