From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=32894 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKyv4-0005D2-DJ for qemu-devel@nongnu.org; Tue, 23 Nov 2010 14:52:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKyv1-0004ee-Mi for qemu-devel@nongnu.org; Tue, 23 Nov 2010 14:52:50 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:31806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKyv1-0004ZA-IM for qemu-devel@nongnu.org; Tue, 23 Nov 2010 14:52:47 -0500 From: anthony.perard@citrix.com Date: Tue, 23 Nov 2010 19:51:45 +0000 Message-Id: <1290541910-11332-11-git-send-email-anthony.perard@citrix.com> In-Reply-To: <1290541910-11332-1-git-send-email-anthony.perard@citrix.com> References: <1290541910-11332-1-git-send-email-anthony.perard@citrix.com> Subject: [Qemu-devel] [PATCH V7 10/15] configure: Always use 64bits target physical addresses with xen enabled. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU-devel Cc: Anthony PERARD , Xen Devel , Stefano Stabellini From: Anthony PERARD 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 --- configure | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 7625054..7688b20 100755 --- a/configure +++ b/configure @@ -2950,6 +2950,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 -- 1.7.1