When we're building a private /dev for the isolated QEMU
process, we want to be able to replicate the contents of
the original /dev as closely as possible, including ACLs.
To ensure that's always possible, make ACL support mandatory
when the QEMU driver is enabled.
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1421036
---
m4/virt-acl.m4 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/m4/virt-acl.m4 b/m4/virt-acl.m4
index f7d1c6d..7a8b8e5 100644
--- a/m4/virt-acl.m4
+++ b/m4/virt-acl.m4
@@ -21,6 +21,10 @@ AC_DEFUN([LIBVIRT_CHECK_ACL], [
AC_CHECK_HEADERS([sys/acl.h])
+ if test "x$ac_cv_header_sys_acl_h:x$with_qemu" = "xno:xyes"; then
+ AC_MSG_ERROR([Unable to find <sys/acl.h>, required by qemu driver])
+ fi
+
ACL_CFLAGS=""
ACL_LIBS=""
if test "x$ac_cv_header_sys_acl_h:x$with_linux" = "xyes:xyes";
then
--
2.7.4