Re: [PATCH v3 16/16] Replace LXC cgroup mount code with call to virCgroupIsolateMount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10.04.2013 12:08, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> ---
>  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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]