[PATCH 2/4] configure: Make ACL mandatory when building the QEMU driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux