On 2/23/20 3:16 PM, Ján Tomko wrote:
This module depends on domain_conf and is used directly by various
hypervisor drivers.
Move it to src/hypervisor.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
build-aux/syntax-check.mk | 2 +-
po/POTFILES.in | 2 +-
src/hypervisor/Makefile.inc.am | 2 +
src/{util => hypervisor}/virhostdev.c | 0
src/{util => hypervisor}/virhostdev.h | 0
src/libvirt_private.syms | 60 +++++++++++++--------------
src/libxl/Makefile.inc.am | 1 +
src/util/Makefile.inc.am | 2 -
tests/Makefile.am | 1 +
9 files changed, 36 insertions(+), 34 deletions(-)
rename src/{util => hypervisor}/virhostdev.c (100%)
rename src/{util => hypervisor}/virhostdev.h (100%)
Missed aa-helper:
diff --git a/src/security/Makefile.inc.am b/src/security/Makefile.inc.am
index 823d80c5dd..5f2f4c8e2d 100644
--- a/src/security/Makefile.inc.am
+++ b/src/security/Makefile.inc.am
@@ -100,6 +100,7 @@ virt_aa_helper_LDADD += libvirt_probes.lo
endif WITH_DTRACE_PROBES
virt_aa_helper_CFLAGS = \
-I$(srcdir)/conf \
+ -I$(top_srcdir)/src/hypervisor \
-I$(srcdir)/security \
$(AM_CFLAGS) \
$(PIE_CFLAGS) \
Michal