[PATCH] rpm: Add riscv64 to arches_qemu_kvm

Andrea Bolognani posted 1 patch 2 weeks, 4 days ago
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] rpm: Add riscv64 to arches_qemu_kvm
Posted by Andrea Bolognani 2 weeks, 4 days ago
The riscv64 architecture is not yet fully integrated into
Fedora, but KVM support is already implemented across the stack
and the Fedora package for QEMU is already set up to generate
the qemu-kvm binary package when targeting it.

Thanks: David Abdurachmanov <davidlt@rivosinc.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 libvirt.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 4dec7ace6f..c332fb4ff1 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -6,7 +6,7 @@
 %define min_rhel 8
 %define min_fedora 37
 
-%define arches_qemu_kvm         %{ix86} x86_64 %{power64} %{arm} aarch64 s390x
+%define arches_qemu_kvm         %{ix86} x86_64 %{power64} %{arm} aarch64 s390x riscv64
 %if 0%{?rhel}
     %if 0%{?rhel} > 8
         %define arches_qemu_kvm     x86_64 aarch64 s390x
-- 
2.46.0
Re: [PATCH] rpm: Add riscv64 to arches_qemu_kvm
Posted by Martin Kletzander 2 weeks, 3 days ago
On Tue, Sep 17, 2024 at 02:38:59PM +0200, Andrea Bolognani wrote:
>The riscv64 architecture is not yet fully integrated into
>Fedora, but KVM support is already implemented across the stack
>and the Fedora package for QEMU is already set up to generate
>the qemu-kvm binary package when targeting it.
>
>Thanks: David Abdurachmanov <davidlt@rivosinc.com>
>Signed-off-by: Andrea Bolognani <abologna@redhat.com>

Reviewed-by: Martin Kletzander <mkletzan@redhat.com>

>---
> libvirt.spec.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/libvirt.spec.in b/libvirt.spec.in
>index 4dec7ace6f..c332fb4ff1 100644
>--- a/libvirt.spec.in
>+++ b/libvirt.spec.in
>@@ -6,7 +6,7 @@
> %define min_rhel 8
> %define min_fedora 37
>
>-%define arches_qemu_kvm         %{ix86} x86_64 %{power64} %{arm} aarch64 s390x
>+%define arches_qemu_kvm         %{ix86} x86_64 %{power64} %{arm} aarch64 s390x riscv64
> %if 0%{?rhel}
>     %if 0%{?rhel} > 8
>         %define arches_qemu_kvm     x86_64 aarch64 s390x
>-- 
>2.46.0
>