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" <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.
Hmm, yes, we should be mounting all of them
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|