[libvirt] [PATCH v3 16/16] Replace LXC cgroup mount code with call to virCgroupIsolateMount
Michal Privoznik
mprivozn at redhat.com
Thu Apr 11 10:03:26 UTC 2013
On 10.04.2013 12:08, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The LXC driver currently has code to detect cgroups mounts
> and then re-mount them inside the new root filesystem. Replace
> this fragile code with a call to virCgroupIsolateMount.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/lxc/lxc_container.c | 237 ++----------------------------------------------
> 1 file changed, 8 insertions(+), 229 deletions(-)
>
ACK if you squash this in:
diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
index b0367e4..ac0f69c 100644
--- a/src/lxc/lxc_container.c
+++ b/src/lxc/lxc_container.c
@@ -35,7 +35,6 @@
#include <sys/stat.h>
#include <unistd.h>
#include <mntent.h>
-#include <dirent.h>
#include <sys/reboot.h>
#include <linux/reboot.h>
Michal
More information about the libvir-list
mailing list