[libvirt] [PATCH] Add APIs for killing off processes inside a cgroup
Eric Blake
eblake at redhat.com
Tue Feb 22 18:17:05 UTC 2011
On 02/22/2011 10:55 AM, Daniel P. Berrange wrote:
> 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
Do we really need three APIs, or can we just have:
virCgroupKill(..., VIR_CGROUP_KILL_RECURSIVE | VIR_CGROUP_KILL_PAINFUL)
I haven't reviewed the body of the patch, yet.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110222/4705ece3/attachment-0001.sig>
More information about the libvir-list
mailing list