[libvirt PATCH 9/9] spec: Introduce arches_*

Andrea Bolognani abologna at redhat.com
Mon Oct 5 18:59:31 UTC 2020


On Mon, 2020-10-05 at 20:40 +0200, Andrea Bolognani wrote:
> +++ b/libvirt.spec.in
> @@ -17,10 +17,22 @@
>      %define _vpath_builddir %{_target_platform}
>  %endif
>  
> +%define arches_64bit            x86_64 %{power64} aarch64 s390x riscv64
> +%define arches_x86              %{ix86} x86_64
> +
> +%define arches_systemtap_64bit  %{arches_64bit}
> +%define arches_dmidecode        %{arches_x86}
> +%define arches_xen              %{arches_x86}
> +%define arches_vbox             %{arches_x86}
> +%define arches_ceph             %{arches_64bit}
> +%define arches_zfs              %{arches_x86} %{power64} %{arm}
> +%define arches_numactl          %{arches_x86} %{power64} aarch64
> +%define arches_numad            %{arches_x86} %{power64} aarch64

Pushing

  commit 5ebf0638972c5922d32e9819f2f979f3345bd9c2
  Author: Neal Gompa <ngompa13 at gmail.com>
  Date:   Sun Oct 4 22:16:57 2020 -0400

    rpm: Enable Xen support on AArch64
    
    Starting with Linux 5.9, Xen Dom0 works on commonly available
    AArch64 devices, such as the Raspberry Pi 4.
    
    Reference: https://xenproject.org/2020/09/29/xen-on-raspberry-pi-4-adventures/
    
    Signed-off-by: Neal Gompa <ngompa13 at gmail.com>
    Reviewed-by: Andrea Bolognani <abologna at redhat.com>

caused a conflict with this patch, which luckily can be trivially
addressed; in addition, the diff below should be squashed in.


diff --git a/libvirt.spec.in b/libvirt.spec.in
index 32bc51b33c..4bd68f6a9e 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -22,7 +22,7 @@

 %define arches_systemtap_64bit  %{arches_64bit}
 %define arches_dmidecode        %{arches_x86}
-%define arches_xen              %{arches_x86}
+%define arches_xen              %{arches_x86} aarch64
 %define arches_vbox             %{arches_x86}
 %define arches_ceph             %{arches_64bit}
 %define arches_zfs              %{arches_x86} %{power64} %{arm}
-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list