[libvirt] [PATCH 09/13] New cgroups API for atomically creating machine cgroups

Eric Blake eblake at redhat.com
Tue Jul 23 21:53:07 UTC 2013


On 07/23/2013 09:21 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Instead of requiring one API call to create a cgroup and
> another to add a task to it, introduce a new API
> virCgroupNewMachine which does both jobs at once. This
> will facilitate the later code to talk to systemd to
> achieve this job which is also atomic.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/vircgroup.c     | 51 ++++++++++++++++++++++++++++++++++++++++++++++++
>  src/util/vircgroup.h     | 13 ++++++++++++
>  3 files changed, 65 insertions(+)
> 

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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130723/b6693a8b/attachment-0001.sig>


More information about the libvir-list mailing list