diff options
author | Alexander Graf <agraf@suse.de> | 2009-12-05 12:44:24 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-05 17:36:02 +0100 |
commit | 0e60a699d22be754c63392e5c5a275bff27726b7 (patch) | |
tree | eca2b7ca586702cf5007ea3764d158413b26aaf4 /configure | |
parent | 2827822ef1b725cb9b28e8ca62c2cf2a937e4f19 (diff) | |
download | qemu-0e60a699d22be754c63392e5c5a275bff27726b7.zip qemu-0e60a699d22be754c63392e5c5a275bff27726b7.tar.gz qemu-0e60a699d22be754c63392e5c5a275bff27726b7.tar.bz2 |
Add KVM support for S390x
S390x was one of the first platforms that received support for KVM back in the
day. Unfortunately until now there hasn't been a qemu implementation that would
enable users to actually run guests.
So let's include support for KVM S390x in qemu!
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1377,6 +1377,8 @@ EOF kvm_cflags="$kvm_cflags -I$kerneldir/arch/x86/include" elif test "$cpu" = "ppc" -a -d "$kerneldir/arch/powerpc/include" ; then kvm_cflags="$kvm_cflags -I$kerneldir/arch/powerpc/include" + elif test "$cpu" = "s390x" -a -d "$kerneldir/arch/s390/include" ; then + kvm_cflags="$kvm_cflags -I$kerneldir/arch/s390/include" elif test -d "$kerneldir/arch/$cpu/include" ; then kvm_cflags="$kvm_cflags -I$kerneldir/arch/$cpu/include" fi @@ -2390,7 +2392,7 @@ case "$target_arch2" in fi esac case "$target_arch2" in - i386|x86_64|ppcemb|ppc|ppc64) + 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 \ |