[libvirt] PATCH: 0/3: Run QEMU guests within a CGroup

David Lutterkort lutter at redhat.com
Thu Feb 26 22:40:54 UTC 2009


On Thu, 2009-02-26 at 16:36 +0000, Daniel P. Berrange wrote:
> Recent Linux kernels have a new concept of 'CGroups' which is a way to
> group tasks on the system and apply policy to them as a whole. We already
> use this in the LXC container driver, to control total memory usage of
> things runing within a container.
> 
> This patch series is a proof of concept to make use of CGroups in the
> QEMU driver. The idea is that we have a 3 level cgroup hierarchy
> 
>  - Top level; contains the libvirtd daemon itself
>  - 2nd level: one per libvirt driver, but dos not contain any
>               processes.
>  - 3rd level: one per guest VM. Contains the QEMU process

Why the separate group for the driver ? Do you see partitioning of
resources by driver as an important requirement ?

David





More information about the libvir-list mailing list