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(a)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