Ryota Ozaki 842b51ff5d cgroup: Change virCgroupRemove to remove all descendant groups at first
As same as normal directories, a cgroup cannot be removed if it
contains sub groups. This patch changes virCgroupRemove to remove
all descendant groups (subdirectories) of a target group before
removing the target group.

The handling is required when we run lxc with ns subsystem of cgroup.
Ns subsystem automatically creates child cgroups on every process
forks, but unfortunately the groups are not removed on process exits,
so we have to remove them by ourselves.

With this patch, such child (and descendant) groups are surely removed
at lxc shutdown, i.e., lxcVmCleanup which calls virCgroupRemove.
2010-06-23 14:30:19 -06:00
2010-06-10 06:05:31 -06:00
2010-03-26 19:16:37 +01:00
2010-05-26 12:01:27 +02:00
2010-05-17 09:12:42 -06:00
2010-06-23 08:35:40 -06:00
2010-05-19 16:28:49 -06:00
2009-07-08 16:17:51 +02:00
2010-06-06 10:27:28 +02:00
2010-05-17 09:12:42 -06:00
2010-06-23 08:18:57 -06:00
2010-06-04 10:03:52 -06:00
2010-06-10 06:05:31 -06:00
2010-06-10 06:05:31 -06:00
2010-06-01 16:34:25 -06:00
2009-07-16 15:06:42 +02:00
2010-05-28 18:00:53 +02:00
2010-04-12 16:43:05 -06:00

         LibVirt : simple API for virtualization

  Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). It is free software
available under the GNU Lesser General Public License. Virtualization of
the Linux Operating System means the ability to run multiple instances of
Operating Systems concurrently on a single hardware system where the basic
resources are driven by a Linux instance. The library aim at providing
long term stable C API initially for the Xen paravirtualization but
should be able to integrate other virtualization mechanisms if needed.

Daniel Veillard <veillard@redhat.com>
Description
Libvirt provides a portable, long term stable C API for managing the virtualization technologies provided by many operating systems. It includes support for QEMU, KVM, Xen, LXC, bhyve, Virtuozzo, VMware vCenter and ESX, VMware Desktop, Hyper-V, VirtualBox and the POWER Hypervisor.
Readme 908 MiB
Languages
C 94.8%
Python 2%
Meson 0.9%
Shell 0.8%
Dockerfile 0.6%
Other 0.8%