]> git.ipfire.org Git - thirdparty/libvirt.git/commit
New cgroups API for atomically creating machine cgroups
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 18 Jul 2013 15:55:37 +0000 (16:55 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 25 Jul 2013 10:42:47 +0000 (11:42 +0100)
commitb333330aa50e9a609687b517cf1a832571b7195c
tree33ff336555768d69db608fa30d854425fd67b236
parent4e5f0dd2d3619b463e609d50dfd4e7a3ff1a00cb
New cgroups API for atomically creating machine cgroups

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@redhat.com>
src/libvirt_private.syms
src/util/vircgroup.c
src/util/vircgroup.h