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
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
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
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
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