[libvirt] [PATCH] vircgroup: Update virCgroupDenyDevicePath stub

Michal Privoznik mprivozn at redhat.com
Wed Feb 17 13:38:07 UTC 2016

In cf113e8d we changed the declaration of
virCgroupAllowDevicePath() and virCgroupDenyDevicePath().
However, while updating the stub for non-cgroup platforms for the
former we forgot to update the latter too causing a build

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>

Pushed under trivial and build-breaker rules.

 src/util/vircgroup.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index d032c60..38398fd 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -4689,7 +4689,8 @@ virCgroupDenyDevice(virCgroupPtr group ATTRIBUTE_UNUSED,
 virCgroupDenyDevicePath(virCgroupPtr group ATTRIBUTE_UNUSED,
                         const char *path ATTRIBUTE_UNUSED,
-                        int perms ATTRIBUTE_UNUSED)
+                        int perms ATTRIBUTE_UNUSED,
+                        bool ignoreEacces ATTRIBUTE_UNUSED)
     virReportSystemError(ENOSYS, "%s",
                          _("Control groups not supported on this platform"));

More information about the libvir-list mailing list