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

Eric Blake eblake at redhat.com
Tue Jul 8 04:03:45 UTC 2014


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 |  1 +
>  src/util/vircgroup.c     | 62 +++++++++++++++++++++++++++++++++++-------------
>  src/util/vircgroup.h     |  2 ++
>  3 files changed, 49 insertions(+), 16 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140707/100e2459/attachment-0001.sig>


More information about the libvir-list mailing list