]> xenbits.xensource.com Git - people/dariof/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:04:43 +0000 (11:04 -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

libvirt.spec.in

index 9aa2fb2ed6f617b06a8edd948e13078b9402ca58..35c103b4ee939d21895bd8e5c3380f85fd957275 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