Patchwork [V8,11/16] configure: Always use 64bits target physical addresses with xen enabled.

login
register
mail settings
Submitter Anthony PERARD
Date Dec. 1, 2010, 5:39 p.m.
Message ID <1291225188-9972-12-git-send-email-anthony.perard@citrix.com>
Download mbox | patch
Permalink /patch/73854/
State New
Headers show

Comments

Anthony PERARD - Dec. 1, 2010, 5:39 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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/configure b/configure
index a7a06ed..f3c524e 100755
--- a/configure
+++ b/configure
@@ -2958,6 +2958,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
       echo "LIBS+=$xen_libs" >> $config_target_mak
       echo "CONFIG_XEN_CTRL_INTERFACE_VERSION=$xen_ctrl_version" >> $config_target_mak