public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qemu] rawhide: Fix loongarch64 support.
@ 2026-06-22 22:46 Sun Haiyong
  0 siblings, 0 replies; only message in thread
From: Sun Haiyong @ 2026-06-22 22:46 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/qemu
            Branch : rawhide
            Commit : 18f65a390ed7acfafe42cb7604880e2353753e24
            Author : Sun Haiyong <sunhaiyong@zdbr.net>
            Date   : 2026-06-18T17:07:42+08:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/qemu/c/18f65a390ed7acfafe42cb7604880e2353753e24?branch=rawhide

            Log:
            Fix loongarch64 support.

Enabled kvm_package for loongarch64
Enabled have_spice for loongarch64
Exclude the qemu-loongarch64-static.conf file when the host is loongarch64.

---
diff --git a/qemu.spec b/qemu.spec
index 2ce9614..6c487b0 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -36,6 +36,9 @@
 %ifarch riscv64
 %global kvm_package   system-riscv
 %endif
+%ifarch loongarch64
+%global kvm_package   system-loongarch64
+%endif
 
 %global modprobe_kvm_conf %{_sourcedir}/kvm.conf
 %ifarch s390x
@@ -65,7 +68,7 @@
 %global have_numactl 1
 
 %global have_spice 1
-%ifnarch x86_64 aarch64
+%ifnarch x86_64 aarch64 loongarch64
 %global have_spice 0
 %endif
 %if 0%{?rhel} >= 9
@@ -2223,7 +2226,7 @@ export MTESTARGS="--no-suite block"
 # the hardware that's currently available is too slow and we need to
 # allow tests to run for a little bit longer
 %define timeout_multiplier 1
-%ifarch riscv64
+%ifarch riscv64 loongarch64
 %define timeout_multiplier 3
 %endif
 
@@ -2860,7 +2863,9 @@ popd
 %{_datadir}/systemtap/tapset/qemu-loongarch64-log-static.stp
 %{_datadir}/systemtap/tapset/qemu-loongarch64-simpletrace-static.stp
 %{_datadir}/systemtap/tapset/qemu-loongarch64-static.stp
+%ifnarch loongarch64
 %{_exec_prefix}/lib/binfmt.d/qemu-loongarch64-static.conf
+%endif
 
 %files user-static-m68k
 %license COPYING COPYING.LIB LICENSE

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-22 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 22:46 [rpms/qemu] rawhide: Fix loongarch64 support Sun Haiyong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox