]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Add APIs for killing off processes inside a cgroup
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 22 Feb 2011 17:33:59 +0000 (17:33 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 25 Feb 2011 14:21:30 +0000 (14:21 +0000)
commit33191b419c8c8b17af7c6100997e64ed18bd5f62
tree8babf316c36c5ca77775638ec59e1a4ad78be166
parent16ba2aafc46ac23e2c51f14587d320e536d3af22
Add APIs for killing off processes inside a cgroup

The virCgroupKill method kills all PIDs found in a cgroup

The virCgroupKillRecursively method does this recursively
for child cgroups.

The virCgroupKillPainfully method does a recursive kill
several times in a row until everything has really died
src/libvirt_private.syms
src/util/cgroup.c
src/util/cgroup.h