]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
add ppc64 and s390x to arches where qemu-kvm exists
authorDan Horák <dan@danny.cz>
Fri, 16 Nov 2012 17:50:20 +0000 (18:50 +0100)
committerEric Blake <eblake@redhat.com>
Fri, 16 Nov 2012 18:07:05 +0000 (11:07 -0700)
QEMU in Fedora >= 18 is configured with ppc64 and s390x as architectures
where KVM is enabled.

https://bugzilla.redhat.com/show_bug.cgi?id=872545
(cherry picked from commit 041b1ff26ac5bf569ca26049e85b8e73eb54c441)

libvirt.spec.in

index 74f03a6fe8671876f72e0a1466e8a5e7e7f386ec..e353f0ad9523525fcbf67395470a41a62de77559 100644 (file)
 
 %define with_qemu_tcg      %{with_qemu}
 # Change if we ever provide qemu-kvm binaries on non-x86 hosts
-%ifarch %{ix86} x86_64
+%if 0%{?fedora} >= 18
+%define qemu_kvm_arches    %{ix86} x86_64 ppc64 s390x
+%else
+%define qemu_kvm_arches    %{ix86} x86_64
+%endif
+
+%ifarch %{qemu_kvm_arches}
 %define with_qemu_kvm      %{with_qemu}
 %else
 %define with_qemu_kvm      0