Enable libblkio
The libblkio package was added to Fedora. It is now possible to enable the blkio block driver in QEMU. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
8f629c7e0f
commit
4eb8ef11c1
19
qemu.spec
19
qemu.spec
@ -163,6 +163,7 @@
|
|||||||
%global qemudocdir %{_docdir}/%{name}
|
%global qemudocdir %{_docdir}/%{name}
|
||||||
%define evr %{epoch}:%{version}-%{release}
|
%define evr %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
%define requires_block_blkio Requires: %{name}-block-blkio = %{evr}
|
||||||
%define requires_block_curl Requires: %{name}-block-curl = %{evr}
|
%define requires_block_curl Requires: %{name}-block-curl = %{evr}
|
||||||
%define requires_block_dmg Requires: %{name}-block-dmg = %{evr}
|
%define requires_block_dmg Requires: %{name}-block-dmg = %{evr}
|
||||||
%if %{have_block_gluster}
|
%if %{have_block_gluster}
|
||||||
@ -252,6 +253,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global requires_all_modules \
|
%global requires_all_modules \
|
||||||
|
%{requires_block_blkio} \
|
||||||
%{requires_block_curl} \
|
%{requires_block_curl} \
|
||||||
%{requires_block_dmg} \
|
%{requires_block_dmg} \
|
||||||
%{requires_block_gluster} \
|
%{requires_block_gluster} \
|
||||||
@ -402,6 +404,7 @@ BuildRequires: pkgconfig(gbm)
|
|||||||
BuildRequires: perl-Test-Harness
|
BuildRequires: perl-Test-Harness
|
||||||
BuildRequires: libslirp-devel
|
BuildRequires: libslirp-devel
|
||||||
BuildRequires: libbpf-devel >= 1.0.0
|
BuildRequires: libbpf-devel >= 1.0.0
|
||||||
|
BuildRequires: libblkio-devel
|
||||||
|
|
||||||
|
|
||||||
# Fedora specific
|
# Fedora specific
|
||||||
@ -608,6 +611,16 @@ Install this package if you want access to the avocado_qemu
|
|||||||
tests, or qemu-iotests.
|
tests, or qemu-iotests.
|
||||||
|
|
||||||
|
|
||||||
|
%package block-blkio
|
||||||
|
Summary: QEMU blkio block driver
|
||||||
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
%description block-blkio
|
||||||
|
This package provides the additional blkio block driver for QEMU.
|
||||||
|
|
||||||
|
Install this package if you want to access disks over vhost-user-blk, vdpa-blk,
|
||||||
|
and other transports using the libblkio library.
|
||||||
|
|
||||||
|
|
||||||
%package block-curl
|
%package block-curl
|
||||||
Summary: QEMU CURL block driver
|
Summary: QEMU CURL block driver
|
||||||
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-common%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
@ -1593,6 +1606,7 @@ run_configure \
|
|||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
--enable-avx2 \
|
--enable-avx2 \
|
||||||
%endif
|
%endif
|
||||||
|
--enable-blkio \
|
||||||
--enable-bpf \
|
--enable-bpf \
|
||||||
--enable-cap-ng \
|
--enable-cap-ng \
|
||||||
--enable-capstone \
|
--enable-capstone \
|
||||||
@ -2207,6 +2221,8 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
|||||||
%{testsdir}
|
%{testsdir}
|
||||||
%{_libdir}/%{name}/accel-qtest-*.so
|
%{_libdir}/%{name}/accel-qtest-*.so
|
||||||
|
|
||||||
|
%files block-blkio
|
||||||
|
%{_libdir}/%{name}/block-blkio.so
|
||||||
%files block-curl
|
%files block-curl
|
||||||
%{_libdir}/%{name}/block-curl.so
|
%{_libdir}/%{name}/block-curl.so
|
||||||
%files block-iscsi
|
%files block-iscsi
|
||||||
@ -2746,6 +2762,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 31 2023 Stefan Hajnoczi <stefanha@redhat.com> - 7.2.0-6
|
||||||
|
- Enable libblkio
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.2.0-5
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.2.0-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user