add '--enable-slirp' compilation options

This commit is contained in:
fu-shanqing 2022-10-24 10:10:07 +08:00
parent 17274867fb
commit f68cfde3b0

View File

@ -1,6 +1,6 @@
Name: qemu Name: qemu
Version: 6.2.0 Version: 6.2.0
Release: 53 Release: 54
Epoch: 10 Epoch: 10
Summary: QEMU is a generic and open source machine emulator and virtualizer Summary: QEMU is a generic and open source machine emulator and virtualizer
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
@ -366,6 +366,7 @@ BuildRequires: libssh-devel
BuildRequires: glib2 BuildRequires: glib2
BuildRequires: libfdt-devel BuildRequires: libfdt-devel
BuildRequires: virglrenderer-devel BuildRequires: virglrenderer-devel
BuildRequires: libslirp-devel
# for upgrade from qemu-kvm # for upgrade from qemu-kvm
Provides: qemu-kvm Provides: qemu-kvm
@ -512,7 +513,8 @@ cd ../
--firmwarepath=%{_datadir}/%{name} \ --firmwarepath=%{_datadir}/%{name} \
--with-pkgversion=%{name}-%{version}-%{release} \ --with-pkgversion=%{name}-%{version}-%{release} \
--python=/usr/bin/python3 \ --python=/usr/bin/python3 \
--disable-slirp \ --enable-slirp=system \
--enable-slirp-smbd \
--enable-gtk \ --enable-gtk \
--enable-docs \ --enable-docs \
--enable-guest-agent \ --enable-guest-agent \
@ -829,6 +831,9 @@ getent passwd qemu >/dev/null || \
%endif %endif
%changelog %changelog
* Mon Oct 24 2022 fushanqing <fushanqing@kylinos.cn> - 10:6.2.0-54
- add '--enable-slirp' compilation options
* Fri Oct 21 2022 yezengruan <yezengruan@huawei.com> - 10:6.2.0-53 * Fri Oct 21 2022 yezengruan <yezengruan@huawei.com> - 10:6.2.0-53
- ui/vnc-clipboard: fix integer underflow in vnc_client_cut_text_ext (CVE-2022-3165) - ui/vnc-clipboard: fix integer underflow in vnc_client_cut_text_ext (CVE-2022-3165)