[libvirt] [PATCHv3 11/26] util: cgroup: Add helper to convert device mode to string

Eric Blake eblake at redhat.com
Thu Jun 26 01:11:01 UTC 2014


On 06/25/2014 10:54 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/20140625/3f818505/attachment-0001.sig>


More information about the libvir-list mailing list