[libvirt] [PATCH 00/10 v2] Enable loadable modules for libvirtd

Daniel P. Berrange berrange at redhat.com
Mon May 21 19:59:08 UTC 2012


A simple rebase of

  https://www.redhat.com/archives/libvir-list/2012-April/msg00045.html

For a long timer we've had the ability to build each libvirt
driver as a loadable module. We have never used this by default
and as a result it constantly bit-rots.

This series fixes various bugs, and then enables it by default
in configure. It also makes the PRMs use the loadable modules,
adding new new sub-RPMs for each module. We can now finally
install minimal libvirt binaries for each hypervisor.

ie  yum install libvirt-daemon-kvm

 will not pull in Xen libraries!

Changes in v2:

 - Fix build with dtrace
 - Rebase to latest GIT master

 configure.ac                    |   20 ++
 daemon/Makefile.am              |    5 
 daemon/libvirtd.c               |   35 ++++
 libvirt.spec.in                 |  298 +++++++++++++++++++++++++++++++++++++++-
 src/Makefile.am                 |  156 ++++++--------------
 src/driver.c                    |   20 ++
 src/driver.h                    |    1 
 src/internal.h                  |    2 
 src/libvirt.c                   |  129 +++++------------
 src/libvirt_driver_modules.syms |    1 
 src/libvirt_esx.syms            |    7 
 src/libvirt_openvz.syms         |    7 
 src/libvirt_private.syms        |   41 +++++
 src/libvirt_probes.d            |   21 --
 src/libvirt_qemu_probes.d       |   21 ++
 src/qemu/qemu_monitor.c         |    4 
 src/qemu/qemu_monitor_json.c    |    4 
 src/qemu/qemu_monitor_text.c    |    4 
 tests/Makefile.am               |   91 ++++++------
 tests/virdrivermoduletest.c     |  104 +++++++++++++
 20 files changed, 705 insertions(+), 266 deletions(-)





More information about the libvir-list mailing list