>From eae91b4eb0a06258cc4fc5875e8a6490b7479fed Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Wed, 5 Dec 2007 14:06:34 +0800 Subject: [PATCH] kvm/ia64: qemu : Update qemu configuration file for ia64
Add configure support for ia64 platform.
Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]>
---
qemu/configure | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/qemu/configure b/qemu/configure
index a3c9fa8..8931021 100755
--- a/qemu/configure
+++ b/qemu/configure
@@ -192,6 +192,11 @@ if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
kqemu="yes"
kvm="yes"
fi
+if [ "$cpu" = "ia64" ] ; then
+ kvm="yes"
+ gdbstub="no"
+ slirp="no"
+fi
;;
esac
@@ -1010,7 +1015,7 @@ echo "#define CONFIG_QEMU_PREFIX
\"$interp_prefix1\"" >> $config_h
configure_kvm() {
if test $kvm = "yes" -a "$target_softmmu" = "yes" -a \
- \( "$cpu" = "i386" -o "$cpu" = "x86_64" \); then
+ \( "$cpu" = "i386" -o "$cpu" = "x86_64" -o "$cpu" = "ia64"
\); then
echo "#define USE_KVM 1" >> $config_h
echo "CONFIG_KVM_KERNEL_INC=$kernel_path/include" >> $config_mak
fi
@@ -1024,6 +1029,11 @@ if test "$target_cpu" = "i386" ; then
echo "#define USE_KQEMU 1" >> $config_h
fi
configure_kvm
+elif test "$target_cpu" = "ia64" ; then
+ echo "TARGET_ARCH=ia64" >> $config_mak
+ echo "#define TARGET_ARCH \"ia64\"" >> $config_h
+ echo "#define TARGET_IA64 1" >> $config_h
+ configure_kvm
elif test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then
echo "TARGET_ARCH=arm" >> $config_mak
echo "#define TARGET_ARCH \"arm\"" >> $config_h
--
1.5.2
0002-kvm-ia64-qemu-Update-qemu-configuration-file-for.patch
Description: 0002-kvm-ia64-qemu-Update-qemu-configuration-file-for.patch
------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
