Patchwork [RFC,5/5] configure: Enable KVM on ARM

login
register
mail settings
Submitter Peter Maydell
Date Aug. 9, 2012, 4:33 p.m.
Message ID <1344529990-23251-6-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/176196/
State New
Headers show

Comments

Peter Maydell - Aug. 9, 2012, 4:33 p.m.
Enable KVM on ARM hosts, now that all the necessary components
for it exist.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Avi Kivity - Aug. 12, 2012, 9:55 a.m.
On 08/09/2012 07:33 PM, Peter Maydell wrote:
> Enable KVM on ARM hosts, now that all the necessary components
> for it exist.
> 
>  esac
>  case "$target_arch2" in
> -  i386|x86_64|ppcemb|ppc|ppc64|s390x)
> +  arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
>      # Make sure the target and host cpus are compatible

Nice to see the list grow... who's next?
Alexander Graf - Aug. 12, 2012, 11:09 a.m.
On 12.08.2012, at 11:55, Avi Kivity wrote:

> On 08/09/2012 07:33 PM, Peter Maydell wrote:
>> Enable KVM on ARM hosts, now that all the necessary components
>> for it exist.
>> 
>> esac
>> case "$target_arch2" in
>> -  i386|x86_64|ppcemb|ppc|ppc64|s390x)
>> +  arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
>>     # Make sure the target and host cpus are compatible
> 
> Nice to see the list grow... who's next?

arm64 :)


Alex

Patch

diff --git a/configure b/configure
index b9a0b27..f7a825a 100755
--- a/configure
+++ b/configure
@@ -3797,7 +3797,7 @@  case "$target_arch2" in
     echo "CONFIG_NO_XEN=y" >> $config_target_mak
 esac
 case "$target_arch2" in
-  i386|x86_64|ppcemb|ppc|ppc64|s390x)
+  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_arch2" = "$cpu" -o \