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

Daniel P. Berrangé berrange at redhat.com
Wed Oct 27 14:38:22 UTC 2021


On Wed, Oct 27, 2021 at 03:58:29PM +0200, Jiri Denemark wrote:
> 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

it feels pretty dubious to me todo this in libvirt.

If curl driver is still required by valid use cases in RHEL-9, then
'qemu-kvm' should still depend on it, until we have a replacement
ready.

People who want a truly minimal install can already use 'qemu-kvm-core'
to avoid all driver modules.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list