[libvirt PATCH] spec: Depend on qemu-kvm-block-driver-curl in RHEL-9

Jiri Denemark jdenemar at redhat.com
Wed Oct 27 13:58:29 UTC 2021


The curl block driver is no longer a requirement for qemu-kvm package in
RHEL-9, which breaks support for https network disks. Let's depend on it
explicitly (in libvirt-daemon-kvm meta package) until we possibly
reimplement the https disk support using nbdkit (tracked in bug 2016527).

https://bugzilla.redhat.com/show_bug.cgi?id=2014229

Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
---
 libvirt.spec.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 4ecb28114c..b71888653d 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -791,6 +791,10 @@ Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
 Requires: qemu-kvm
+# qemu-kvm no longer depends on curl block driver in RHEL-9
+%if 0%{?rhel} > 8
+Requires: qemu-kvm-block-driver-curl
+%endif
 
 %description daemon-kvm
 Server side daemon and driver required to manage the virtualization
-- 
2.33.1




More information about the libvir-list mailing list