Re: [libvirt] [PATCH] Avoid getting '-1:-1' in devices cgroup list

2014-12-12 Thread Michal Privoznik
On 10.12.2014 14:49, Cédric Bosdonnat wrote: When calling virCgroupAllowAllDevices we get these invalid entries in the device cgroup config. b -1:-1 rw c -1:-1 rw Check for positive values before outputting the major and minor to avoid that. --- src/util/vircgroup.c | 4 ++-- 1 file

[libvirt] [PATCH] Avoid getting '-1:-1' in devices cgroup list

2014-12-10 Thread Cédric Bosdonnat
When calling virCgroupAllowAllDevices we get these invalid entries in the device cgroup config. b -1:-1 rw c -1:-1 rw Check for positive values before outputting the major and minor to avoid that. --- src/util/vircgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi