Re: [libvirt] [PATCH v3 15/16] Add an API for re-mounting cgroups, to isolate the process location

2013-04-12 Thread Daniel P. Berrange
On Fri, Apr 12, 2013 at 10:53:24AM +0800, Gao feng wrote: > On 04/10/2013 06:08 PM, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > Add a virCgroupIsolateMount method which looks at where the > > current process is place in the cgroups (eg /system/demo.lxc.libvirt) > > and then r

Re: [libvirt] [PATCH v3 15/16] Add an API for re-mounting cgroups, to isolate the process location

2013-04-11 Thread Gao feng
On 04/10/2013 06:08 PM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > 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 di

Re: [libvirt] [PATCH v3 15/16] Add an API for re-mounting cgroups, to isolate the process location

2013-04-11 Thread Michal Privoznik
On 10.04.2013 12:08, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > 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 direc

[libvirt] [PATCH v3 15/16] Add an API for re-mounting cgroups, to isolate the process location

2013-04-10 Thread Daniel P. Berrange
From: "Daniel P. Berrange" 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