]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: cgroup: Drop virCgroup(Allow|Deny)DeviceMajor
authorPeter Krempa <pkrempa@redhat.com>
Tue, 16 Feb 2016 12:57:10 +0000 (13:57 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 Feb 2016 09:54:05 +0000 (10:54 +0100)
commit9cd5da710e346509b0946447d88efd1675bd8d7d
tree271cc3735d583f98c2cc15b34c46e2121b734609
parentf42b5c327f971d162c20d74edb3f05c232645ac8
util: cgroup: Drop virCgroup(Allow|Deny)DeviceMajor

Since commit 47e5b5ae virCgroupAllowDevice allows to pass -1 as either
the minor or major device number and it automatically uses '*' in place
of that. Reuse the new approach through the code and drop the duplicated
functions.
src/libvirt_private.syms
src/lxc/lxc_cgroup.c
src/qemu/qemu_cgroup.c
src/util/vircgroup.c
src/util/vircgroup.h