Accepting request 849748 from home:milsav92:branches:Virtualization
- Added io_uring support. OBS-URL: https://build.opensuse.org/request/show/849748 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=590
This commit is contained in:
parent
f9f98ca55d
commit
eac5d78ff2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 19 18:43:48 UTC 2020 - Milan Savić <milsav92@outlook.com>
|
||||
|
||||
- Added io_uring support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 17 01:41:49 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
||||
|
||||
|
11
qemu.spec
11
qemu.spec
@ -73,6 +73,11 @@
|
||||
%define with_daxctl 1
|
||||
%endif
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
%define with_uring 1
|
||||
%define liburing_min_version 0.3
|
||||
%endif
|
||||
|
||||
# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild
|
||||
%define flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%flavor" == ""
|
||||
@ -307,6 +312,9 @@ BuildRequires: libseccomp-devel >= 2.3.0
|
||||
BuildRequires: libslirp-devel >= 4.2.0
|
||||
BuildRequires: libspice-server-devel >= 0.12.5
|
||||
BuildRequires: libssh-devel >= 0.8
|
||||
%if 0%{?with_uring}
|
||||
BuildRequires: liburing-devel >= %liburing_min_version
|
||||
%endif
|
||||
BuildRequires: libusb-1_0-devel >= 1.0.13
|
||||
BuildRequires: libvdeplug-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
@ -1178,6 +1186,9 @@ cd %mybuilddir
|
||||
--enable-libusb \
|
||||
--disable-libxml2 \
|
||||
--enable-linux-aio \
|
||||
%if 0%{?with_uring}
|
||||
--enable-linux-io-uring \
|
||||
%endif
|
||||
--enable-lzfse \
|
||||
--enable-lzo \
|
||||
--disable-malloc-trim \
|
||||
|
11
qemu.spec.in
11
qemu.spec.in
@ -73,6 +73,11 @@
|
||||
%define with_daxctl 1
|
||||
%endif
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
%define with_uring 1
|
||||
%define liburing_min_version 0.3
|
||||
%endif
|
||||
|
||||
# qemu, qemu-linux-user, and qemu-testsuite "flavors" enabled via OBS Multibuild
|
||||
%define flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%flavor" == ""
|
||||
@ -233,6 +238,9 @@ BuildRequires: libseccomp-devel >= 2.3.0
|
||||
BuildRequires: libslirp-devel >= 4.2.0
|
||||
BuildRequires: libspice-server-devel >= 0.12.5
|
||||
BuildRequires: libssh-devel >= 0.8
|
||||
%if 0%{?with_uring}
|
||||
BuildRequires: liburing-devel >= %liburing_min_version
|
||||
%endif
|
||||
BuildRequires: libusb-1_0-devel >= 1.0.13
|
||||
BuildRequires: libvdeplug-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
@ -1031,6 +1039,9 @@ cd %mybuilddir
|
||||
--enable-libusb \
|
||||
--disable-libxml2 \
|
||||
--enable-linux-aio \
|
||||
%if 0%{?with_uring}
|
||||
--enable-linux-io-uring \
|
||||
%endif
|
||||
--enable-lzfse \
|
||||
--enable-lzo \
|
||||
--disable-malloc-trim \
|
||||
|
Loading…
Reference in New Issue
Block a user