Re: [PATCH] rpm: Enable KVM for riscv64 on RHEL 10+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 14, 2025 at 11:01:21AM +0100, Andrea Bolognani wrote:
> Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
> ---
>  libvirt.spec.in | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index cb41ea1de1..9217820137 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -8,7 +8,9 @@
>  
>  %define arches_qemu_kvm         %{ix86} x86_64 %{power64} %{arm} aarch64 s390x riscv64
>  %if 0%{?rhel}
> -    %if 0%{?rhel} > 8
> +    %if 0%{?rhel} >= 10
> +        %define arches_qemu_kvm     x86_64 aarch64 s390x riscv64

AFAICT the qemu-kvm.spec in centos-stream still only has

  ExclusiveArch: x86_64 %{power64} aarch64 s390x

so adding this in libvirt is premature and would lead to unresolvable
dependencies until QEMU is built on riscv64.

> +    %elif 0%{?rhel} >= 9
>          %define arches_qemu_kvm     x86_64 aarch64 s390x
>      %else
>          %define arches_qemu_kvm     x86_64 %{power64} aarch64 s390x
> -- 
> 2.48.1
> 

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux