From de378581537180c7b9f6912f78bba3481e806ba5 Mon Sep 17 00:00:00 2001 From: lixianglai Date: Sun, 9 Apr 2023 23:51:17 -0400 Subject: [PATCH] - add '--enable-slirp' compilation options Signed-off-by: lixianglai --- qemu.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 26380fea..f816c602 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,6 +1,6 @@ Name: qemu Version: 6.2.0 -Release: 64 +Release: 65 Epoch: 10 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -519,6 +519,7 @@ BuildRequires: libssh-devel BuildRequires: glib2 BuildRequires: libfdt-devel BuildRequires: virglrenderer-devel +BuildRequires: libslirp-devel %ifarch loongarch64 BuildRequires: spice-server-devel %endif @@ -684,7 +685,8 @@ cd ../ --firmwarepath=%{_datadir}/%{name} \ --with-pkgversion=%{name}-%{version}-%{release} \ --python=/usr/bin/python3 \ - --disable-slirp \ + --enable-slirp=system \ + --enable-slirp-smbd \ --enable-gtk \ --enable-docs \ --enable-guest-agent \ @@ -725,6 +727,10 @@ cd ../ --disable-plugins \ --enable-debug +%ifarch loongarch64 +echo "#define CONFIG_DISABLE_QEMU_LOG" >> build/config-host.h +%endif + make %{?_smp_mflags} $buildldflags V=1 cp ${qemubuilddir}/${buildarch}/qemu-system-* qemu-kvm @@ -1026,6 +1032,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Mon Apr 10 2023 - 10:6.2.0-65 +- add '--enable-slirp' compilation options + * Thu Mar 30 2023 - 10:6.2.0-64 - Add spice buildrequires for loongarch. -- Gitee