configure: Always use 64bits target physical addresses with xen enabled.
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 21 Oct 2010 11:47:08 +0000 (12:47 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 8 May 2011 08:10:01 +0000 (10:10 +0200)
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>
Signed-off-by: Alexander Graf <agraf@suse.de>
configure

index 6fc2bdd..3ba6401 100755 (executable)
--- a/configure
+++ b/configure
@@ -3298,6 +3298,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