[lxc-devel] [GIT] lxc branch, master, updated. ee70bf78e38e2a3f8cc8d28a541cdad88286ae26
Daniel Lezcano
git at users.sourceforge.net
Wed May 26 17:17:21 UTC 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".
The branch, master has been updated
via ee70bf78e38e2a3f8cc8d28a541cdad88286ae26 (commit)
via 23c53af96d8e30297bde0f14372001b61823868f (commit)
via ffe1e01a50b54ca70d64c0df8ef150f63b9ce80b (commit)
via 32e1c76058ebca7a02d26f7667a0479c7493d3f1 (commit)
via 79fd982e9111cf25feadfed1884c205045265abc (commit)
via e6126dbe9fe920327c64f7f0b044b9e55f328684 (commit)
via fc25b815fd27f5510aaefd88c620a6dfb90100d1 (commit)
via 69ffa3111000771601533fc584d2c62a1e635f6e (commit)
via 8f64a3f64f7148deb0deb5fcd1d81a3a31a2a1e8 (commit)
from 8ff3518040fdd6935e7829f3fb8415c9cf191792 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ee70bf78e38e2a3f8cc8d28a541cdad88286ae26
Author: Cedric Le Goater <clg at vnet.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
merge lxc_restart() and lxc_start()
now that we have specific operations and specific arguments for each
sequence, lxc_restart() and lxc_start() can easily be merged under
a common subroutine.
Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 23c53af96d8e30297bde0f14372001b61823868f
Author: Cedric Le Goater <clg at vnet.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
replace common start_arg by private start_arg
the following patch moves the start argument in private
structs which are opaque to lxc_spawn(). To achieve this goal,
we need to move the sv[2] socketpair and lxc_handler
Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit ffe1e01a50b54ca70d64c0df8ef150f63b9ce80b
Author: Cedric Le Goater <clg at vnet.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
start sequence cleanups
These are trivial changes:
start_arg->name is redundant with lxc_handler->name
sv[2] can be stored directly under start_arg
Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 32e1c76058ebca7a02d26f7667a0479c7493d3f1
Author: Cedric Le Goater <clg at vnet.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
simplify lxc_spawn() gotos
label 'out_close' is used only once.
Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 79fd982e9111cf25feadfed1884c205045265abc
Author: Cedric Le Goater <clg at vnet.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
introduce struct lxc_operations
struct lxc_operations offers 2 operations : start and post_start
which are used by the lxc-start and lxc-restart sequences to
define specific actions.
Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
commit e6126dbe9fe920327c64f7f0b044b9e55f328684
Author: Michel Normand <normand at fr.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
Add ops for start
In order to define a specific function for restart, let's create
an ops where we will be able to specify a function for restart too.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit fc25b815fd27f5510aaefd88c620a6dfb90100d1
Author: Michel Normand <normand at fr.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
prepare do_start for restart code
In order to be able to use a single 'start' function for start
and restart, let's prepare do_start to get an extra statefile parameter.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 69ffa3111000771601533fc584d2c62a1e635f6e
Author: Michel Normand <normand at fr.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
move LXC_TTY_HANDLER_ADD/DEL out of init/fini in start.c
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 8f64a3f64f7148deb0deb5fcd1d81a3a31a2a1e8
Author: Michel Normand <normand at fr.ibm.com>
Date: Wed May 26 16:54:48 2010 +0200
sigprocmask moved in fini of start.c
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
src/lxc/start.c | 152 ++++++++++++++++++++++++++++++++-----------------------
src/lxc/start.h | 17 ++++++-
2 files changed, 103 insertions(+), 66 deletions(-)
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list