From fd624919b86d69ad75c80645eb4df30b042bc886 Mon Sep 17 00:00:00 2001 From: Xianglai Li Date: Wed, 27 Nov 2024 15:49:17 +0800 Subject: [PATCH] enable spice for loongarch64 Signed-off-by: Xianglai Li --- qemu.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 42cdf8c..1ea388b 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,4 +1,4 @@ -%define anolis_release 23 +%define anolis_release 24 %bcond_with check %global all_system_emu_support 0 @@ -57,7 +57,7 @@ # Matches spice ExclusiveArch %global have_spice 0 -%ifarch x86_64 aarch64 +%ifarch x86_64 aarch64 loongarch64 %global have_spice 1 %endif @@ -1713,6 +1713,9 @@ rm -f %{buildroot}/%{_datadir}/systemtap/tapset/qemu-system-{alpha,avr,cris,hppa # remove unused header files rm -f %{buildroot}%{_includedir}/qemu-plugin.h +%ifarch aarch64 loongarch64 +rm -f %{buildroot}%{_libdir}/%{name}/hw-display-qxl.so +%endif # Fedora specific stuff below %find_lang %{name} @@ -2094,6 +2097,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %endif %changelog +* Wed Nov 27 2024 Xianglai Li - 2:8.2.0-24 +- Enable spice for loongarch64. + * Wed Nov 27 2024 mgb01105731 - 2:8.2.0-23 - Fix vm cannot boot on arm64 plateform -- Gitee