]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: isolate core libvirt libs deps from xen runtime
authorWim ten Have <wim.ten.have@oracle.com>
Fri, 6 Oct 2017 12:16:07 +0000 (14:16 +0200)
committerJim Fehlig <jfehlig@suse.com>
Fri, 6 Oct 2017 16:21:37 +0000 (10:21 -0600)
commit6c200c76f11887a696c2d05d6b0c222358731679
tree9ad32805031ef8a77d8bb0b849f7a9600fdf2e60
parent746a18dbe8e28cf9adc7921de5ae541888684aca
build: isolate core libvirt libs deps from xen runtime

Generating libvirt packages per make rpm, "with-libxl=1" and "with-xen=1",
adds strict runtime dependencies per libxenlight for xen-libs package from
core libvirt-libs package.  This is not necessary and unfortunate since
those dependencies set demand to "xen-libs" package even when there's no
need for libvirt xen or libxl driver components.

This patch is to have two separate xenconfig lib tool libraries: one for
core libvirt (without XL), and a another that contains xl for libxl driver
(libvirt_driver_libxl_impl.la) which when loading the driver, loads the
remaining symbols (xen{Format,Parse}XL. For the user/sysadmin, this means
the xen dependencies are moved into libxl driver, instead of core libvirt.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Wim ten Have <wim.ten.have@oracle.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
src/Makefile.am
src/libvirt_xenxlconfig.syms [deleted file]