[libvirt] [PATCH] add ppc64 and s390x to arches where qemu-kvm exists

Eric Blake eblake at redhat.com
Fri Nov 16 18:05:36 UTC 2012


On 11/16/2012 10:50 AM, Dan Horák wrote:
> QEMU in Fedora >= 18 is configured with ppc64 and s390x as architectures
> where KVM is enabled.
> ---
>  libvirt.spec.in |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)

ACK and pushed.

> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 9aa2fb2..35c103b 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -53,7 +53,13 @@
>  
>  %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
> 

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121116/8d6a36bc/attachment-0001.sig>


More information about the libvir-list mailing list