[libvirt] [PATCH] daemon: Drop dependency on libvirt-admin.so

Andrea Bolognani abologna at redhat.com
Fri Jun 24 13:38:20 UTC 2016


On Fri, 2016-06-24 at 15:12 +0200, Michal Privoznik wrote:
> Currently, the daemon requires libvirt-admin.so because the
> functions encoding/decoding RPC messages for admin APIs live
> there. But this makes it very hard to split admin API into its
> own separate package: if libvirt-admin.so is going to live in a
> separate package than the daemon, either both packages must be
> installed or none.
> Solve this by statically linking the RPC message handling
> functions with the daemon.

I don't see the problem with having the daemon depend on
libvirt-admin.so - it already depends on libvirt.so after
all, and for example in Debian that is reflected by having
the libvirt-daemon package (which contains libvirtd)
depend on libvirt0 (which contains libvirt.so). It would
just be a matter of adding a dependency on libvirt-admin0,
or whatever the package would end up being called.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list