Re: [lxc-devel] [Lxc-users] Request for inclusion into mainline LXC utils

2010-02-04 Thread Guido Trotter
On Wed, Feb 3, 2010 at 7:34 PM, l...@zitta.fr wrote: It seems that we did not the same kind of utils. You have made init.d, start, stop and status scripts (for debian-like distro). It could proposed to the debian package maintainer. Sure, I'd be happy to have contributions to the debian

[lxc-devel] [patch 03/10] use a mainloop for the console

2010-02-04 Thread Daniel Lezcano
Use the mainloop to manage io of the console. Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- src/lxc/lxc_console.c | 163 ++ 1 file changed, 88 insertions(+), 75 deletions(-) Index: lxc/src/lxc/lxc_console.c

[lxc-devel] [patch 02/10] factor-out-console code

2010-02-04 Thread Daniel Lezcano
Factore out the console code and encapsulate the code in functions. Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- src/lxc/lxc_console.c | 67 -- 1 file changed, 43 insertions(+), 24 deletions(-) Index: lxc/src/lxc/lxc_console.c

[lxc-devel] [patch 07/10] count the number of tasks in the container

2010-02-04 Thread Daniel Lezcano
This patch adds a function to count the number of tasks in the container. Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- src/lxc/cgroup.c | 27 +++ src/lxc/cgroup.h |2 +- 2 files changed, 28 insertions(+), 1 deletion(-) Index: lxc/src/lxc/cgroup.c

[lxc-devel] [patch 05/10] rename network type enum

2010-02-04 Thread Daniel Lezcano
Use a prefixed enum to avoid conflict later. Signed-off-by: Daniel Lezcano dlezc...@fr.ibm.com --- src/lxc/conf.c| 14 +++--- src/lxc/conf.h| 12 ++-- src/lxc/confile.c | 10 +- 3 files changed, 18 insertions(+), 18 deletions(-) Index: lxc/src/lxc/conf.c