On 04/10/2013 06:08 PM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
Add a virCgroupIsolateMount method which looks at where the
current process is place in the cgroups (eg /system/demo.lxc.libvirt)
and then remounts the cgroups such that this sub-directory
becomes the root directory from the current process' POV.
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
I noticed that this patch doesn't mount the subsystem which
isn't used by libvirt, such as net_cls, is this what we expected?
I prefer to mount these subsystems too.