]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: remove dependancy from qemu to network/storage drivers
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 14 May 2019 14:57:05 +0000 (15:57 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 20 May 2019 11:27:37 +0000 (12:27 +0100)
The libvirt-daemon-driver-qemu RPM has historically had a hard
dependency on the libvirt-daemon-driver-network and
libvirt-daemon-driver-storage-core packages. This was because the QEMU
driver would directly call into APIs that were part of these drivers.

The dependency to the storage driver was eliminated in

  commit 064fec69be4a4673e0df17b007bf781026c3b4b2
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Thu Jan 25 09:35:46 2018 +0000

    storage: move storage file backend framework into util directory

The dependency to the network driver was eliminated in

  commit 5b13570ab8b43ec3c590399ec5a7644d91082149
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Thu Jan 25 09:35:47 2018 +0000

    conf: introduce callback registration for domain net device allocation

  commit 1438aea4ee4c65be1c7e5096a5549bc0f7581165
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Thu Jan 25 09:35:48 2018 +0000

    conf: expand network device callbacks to cover bandwidth updates

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index 5c27a44fc5430bff7bdf6a3771066709860a4e65..b159c50d8fe5181d3037a0ab50f6a8beba5070c4 100644 (file)
@@ -720,9 +720,6 @@ parted and more.
 Summary: QEMU driver plugin for the libvirtd daemon
 Requires: libvirt-daemon = %{version}-%{release}
 Requires: libvirt-libs = %{version}-%{release}
-# There really is a hard cross-driver dependency here
-Requires: libvirt-daemon-driver-network = %{version}-%{release}
-Requires: libvirt-daemon-driver-storage-core = %{version}-%{release}
 Requires: /usr/bin/qemu-img
 # For image compression
 Requires: gzip