public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sun Haiyong <sunhaiyong@zdbr.net>
To: git-commits@fedoraproject.org
Subject: [rpms/qemu] rawhide: Fix loongarch64 support.
Date: Mon, 22 Jun 2026 22:46:50 GMT [thread overview]
Message-ID: <178216841080.1.6572431636831128429.rpms-qemu-18f65a390ed7@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-22 22:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178216841080.1.6572431636831128429.rpms-qemu-18f65a390ed7@fedoraproject.org \
--to=sunhaiyong@zdbr.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox