Re: [libvirt] PATCH: 1/3: Put each QEMU guest in a cgroup

2009-02-27 Thread Daniel Veillard
On Thu, Feb 26, 2009 at 04:38:25PM +, Daniel P. Berrange wrote: This patch sets up the cgroups for QEMU instances. It creates a cgroup when starting a guest, uses an exec hook to place the process into the correct cgroup, and cleans up empty cgroup when the QEMU process shuts down. @@

Re: [libvirt] PATCH: 1/3: Put each QEMU guest in a cgroup

2009-02-26 Thread Daniel P. Berrange
This patch sets up the cgroups for QEMU instances. It creates a cgroup when starting a guest, uses an exec hook to place the process into the correct cgroup, and cleans up empty cgroup when the QEMU process shuts down. Daniel diff --git a/src/qemu_driver.c b/src/qemu_driver.c ---