[libvirt] [PATCH v4 1/3] util: Introduce virDevMapperGetTargets

Peter Krempa pkrempa at redhat.com
Thu Apr 5 10:45:33 UTC 2018


On Thu, Apr 05, 2018 at 10:09:39 +0200, Michal Privoznik wrote:
> This helper fetches dependencies for given device mapper target.
> 
> At the same time, we need to provide a dummy log function because
> by default libdevmapper prints out error messages to stderr which
> we need to suppress.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/libvirt_private.syms |   4 +
>  src/util/Makefile.inc.am |   2 +
>  src/util/virdevmapper.c  | 199 +++++++++++++++++++++++++++++++++++++++++++++++
>  src/util/virdevmapper.h  |  31 ++++++++
>  4 files changed, 236 insertions(+)
>  create mode 100644 src/util/virdevmapper.c
>  create mode 100644 src/util/virdevmapper.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/20180405/52efc0ae/attachment-0001.sig>


More information about the libvir-list mailing list