Re: [libvirt] [PATCHv5 10/28] util: cgroup: Add helper to convert device mode to string

2014-07-08 Thread Peter Krempa
On 07/08/14 06:03, Eric Blake wrote: On 07/04/2014 05:29 AM, Peter Krempa wrote: Cgroups code uses VIR_CGROUP_DEVICE_* flags to specify the mode but in the end it needs to be converted to a string. Add a helper to do it and use it in the cgroup code before introducing it into the rest of the

Re: [libvirt] [PATCHv5 10/28] util: cgroup: Add helper to convert device mode to string

2014-07-07 Thread Eric Blake
On 07/04/2014 05:29 AM, Peter Krempa wrote: Cgroups code uses VIR_CGROUP_DEVICE_* flags to specify the mode but in the end it needs to be converted to a string. Add a helper to do it and use it in the cgroup code before introducing it into the rest of the code. --- src/libvirt_private.syms

[libvirt] [PATCHv5 10/28] util: cgroup: Add helper to convert device mode to string

2014-07-04 Thread Peter Krempa
Cgroups code uses VIR_CGROUP_DEVICE_* flags to specify the mode but in the end it needs to be converted to a string. Add a helper to do it and use it in the cgroup code before introducing it into the rest of the code. --- src/libvirt_private.syms | 1 + src/util/vircgroup.c | 62