[libvirt] [PATCH 04/10] util: cgroup: Drop virCgroup(Allow|Deny)DeviceMajor

Ján Tomko jtomko at redhat.com
Wed Feb 17 08:16:10 UTC 2016


On Tue, Feb 16, 2016 at 04:29:46PM +0100, Peter Krempa wrote:
> 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 |  2 --
>  src/lxc/lxc_cgroup.c     |  4 +--
>  src/qemu/qemu_cgroup.c   |  8 ++---
>  src/util/vircgroup.c     | 94 ------------------------------------------------
>  src/util/vircgroup.h     |  8 -----
>  5 files changed, 6 insertions(+), 110 deletions(-)
> 

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160217/8369330d/attachment-0001.sig>


More information about the libvir-list mailing list