]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Introduce virDevMapperGetTargets
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Mar 2018 12:48:07 +0000 (14:48 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 5 Apr 2018 07:58:44 +0000 (09:58 +0200)
commitfd9d1e686db64fa9481b9eab4dabafa46713e2cf
treee355ab50350955e1b5c35011eff81be6e8e2da2f
parent3487973ee0c730b6fbfc6183af798c46ae3b85ff
util: Introduce virDevMapperGetTargets

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@redhat.com>
src/libvirt_private.syms
src/util/Makefile.inc.am
src/util/virdevmapper.c [new file with mode: 0644]
src/util/virdevmapper.h [new file with mode: 0644]