[libvirt] [PATCH v3 15/16] Add an API for re-mounting cgroups, to isolate the process location
Gao feng
gaofeng at cn.fujitsu.com
Fri Apr 12 02:53:24 UTC 2013
On 04/10/2013 06:08 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at 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 at 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.
More information about the libvir-list
mailing list