1
From d88fe5de3f16148238a65341c74466c8094e3582 Mon Sep 17 00:00:00 2001
2
From: Peter Maydell <peter.maydell@linaro.org>
3
Date: Tue, 17 Dec 2013 19:42:30 +0000
4
Subject: [PATCH 20/49] configure: Enable KVM for aarch64 host/target
7
Enable KVM if the host and target CPU are both aarch64. Note
8
that host aarch64 + target arm is not valid for KVM acceleration:
9
the 64 bit kernel does not support the ioctl interface for
10
32 bit CPUs. 32 bit VMs on 64 bit hosts need to be created
11
using the 64 bit ioctl interface; when QEMU supports this it
12
will be on the arch64-softmmu target with a -cpu parameter for
13
a 32 bit CPU, which is still an aarch64/aarch64 combination
14
as far as configure is concerned.
16
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
17
Message-id: 1385645602-18662-5-git-send-email-peter.maydell@linaro.org
18
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
21
1 file changed, 1 insertion(+), 1 deletion(-)
23
diff --git a/configure b/configure
24
index 0666228..72432ef 100755
27
@@ -4518,7 +4518,7 @@ case "$target_name" in
30
case "$target_name" in
31
- arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
32
+ aarch64|arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
33
# Make sure the target and host cpus are compatible
34
if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \
35
\( "$target_name" = "$cpu" -o \