]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: make lxc-enter-namespace also join the cgroups
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 14 Apr 2016 14:19:56 +0000 (15:19 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 10 Jun 2016 10:03:01 +0000 (11:03 +0100)
commit291e1a470c004484d94497ebe3dae5b42bbff1c1
treee46a7f4e20130abab04c89ddfa9de0c6c20baedc
parent57e62ee00ae4fd001cf8b3c0e95f3a05a2565543
virsh: make lxc-enter-namespace also join the cgroups

Extend the lxc-enter-namespace command so that it joins the
containers' cgroups before starting new namespaces. This
ensures that the commands run have the normal resource
limits applied

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/virsh-domain.c
tools/virsh.pod