[libvirt] [PATCH 1/6] util: create new virmodule.{c, h} files for dlopen support code

Peter Krempa pkrempa at redhat.com
Thu Apr 26 07:28:24 UTC 2018


On Wed, Apr 25, 2018 at 16:52:38 +0100, Daniel Berrange wrote:
> The driver.{c,h} files are primarily targetted at loading hypervisor
> drivers and some helper functions in that area. It also, however,
> contains a generically useful function for loading extension modules
> that is called by the storage driver. Split that functionality off
> into a new virmodule.{c,h} file to isolate it.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/driver.c                    | 133 +-------------------------------
>  src/driver.h                    |   3 -
>  src/libvirt_driver_modules.syms |   1 -
>  src/libvirt_private.syms        |   3 +
>  src/storage/storage_backend.c   |   3 +-
>  src/util/Makefile.inc.am        |   2 +
>  src/util/virmodule.c            | 163 ++++++++++++++++++++++++++++++++++++++++
>  src/util/virmodule.h            |  29 +++++++
>  8 files changed, 201 insertions(+), 136 deletions(-)
>  create mode 100644 src/util/virmodule.c
>  create mode 100644 src/util/virmodule.h

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180426/f07c6596/attachment-0001.sig>


More information about the libvir-list mailing list