aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-11-14 15:10:54 +0000
committerPeter Maydell <peter.maydell@linaro.org>2013-11-27 14:52:22 +0000
commit719048f721854ce6da32d08874d80ec8e333e8cc (patch)
tree05b19f84c0e835ae9ea5bf48cc7ca6717b4a61ea
parente388d7d48819d6a96dd8a95f08430587d7a5c0e9 (diff)
downloadqemu-arm-719048f721854ce6da32d08874d80ec8e333e8cc.tar.gz
configure: Enable KVM for aarch64 host/target combination
Enable KVM if the host and target CPU are both aarch64. Note that host aarch64 + target arm is not valid for KVM acceleration: the 64 bit kernel does not support the ioctl interface for 32 bit CPUs. 32 bit VMs on 64 bit hosts need to be created using the 64 bit ioctl interface; when QEMU supports this it will be on the arch64-softmmu target with a -cpu parameter for a 32 bit CPU, which is still an aarch64/aarch64 combination as far as configure is concerned. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 508f6a574c..33170132e8 100755
--- a/configure
+++ b/configure
@@ -4513,7 +4513,7 @@ case "$target_name" in
*)
esac
case "$target_name" in
- arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
+ aarch64|arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
# Make sure the target and host cpus are compatible
if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \
\( "$target_name" = "$cpu" -o \