[lxc-devel] [GIT] lxc branch, master, updated. 018ef5201be79a5f8cd2c4e1ddf0da0519268a03
Daniel Lezcano
git at users.sourceforge.net
Thu May 28 10:11:15 UTC 2009
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 018ef5201be79a5f8cd2c4e1ddf0da0519268a03 (commit)
via f8af8e239ed6dc586f6a6b8035f6fab95e55e998 (commit)
via 3f8b55d5cccd8826e7710d98dd5680637791a481 (commit)
via 6b201d02b05f1d275a21259a734b3f0ad82f7c57 (commit)
via d7efa8fcbf0911f93c83dc06a708e7d73833dce3 (commit)
via 4fcc0112bd5f3b7aaa26b1d734d7e7229eee738d (commit)
via 6203de18eb7d623692080a71622547ee0dc9da41 (commit)
via 920dfa346cf63cd501192dafe9a64a615147fedc (commit)
via 34c66a6980bebf1ca9b7da87e627fc507a6c139a (commit)
via 3f739da8b51d141b0147b2da8502d1a2b885f878 (commit)
via 64e1ae63ebfeefd41ddf6857296742d02fecc30a (commit)
via e3642c43e6599fb1bfdd2e763e034c5c46299a46 (commit)
from 7cee8789514fb42d6a48d50b904e24284f5526e3 (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 018ef5201be79a5f8cd2c4e1ddf0da0519268a03
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:51 2009 +0200
choose a default network interface name
When no name is specified in the configuration file for an interface,
let the system to choose one nice name like "eth".
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit f8af8e239ed6dc586f6a6b8035f6fab95e55e998
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:51 2009 +0200
Fix lxc-netstat
The lxc-unshare cli has changed, fix the call to lxc-unshare
in lxc-netstat.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 3f8b55d5cccd8826e7710d98dd5680637791a481
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
save the config file in the statefile directory
Save the configuration file in the statefile directory so it
can be re-created at restart time.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 6b201d02b05f1d275a21259a734b3f0ad82f7c57
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
add a statefile directory parameter
add a statefile directory parameter in order to save some
lxc informations a checkpoint.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit d7efa8fcbf0911f93c83dc06a708e7d73833dce3
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
copy the configuration file in the conf repo
When creating the container, copy the configuration file to the
configuration tree.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 4fcc0112bd5f3b7aaa26b1d734d7e7229eee738d
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
create the container with an empty configuration
Fix the code to not fail when the specified configuration file
is empty.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 6203de18eb7d623692080a71622547ee0dc9da41
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
rename the ns_cgroup with the container name
It is not easy to follow the cgroup name associated with a container,
so right after the container is created, I rename the cgroup which
is the pid of the creator by the container name.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 920dfa346cf63cd501192dafe9a64a615147fedc
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
change the checkpoint/restart function api
As the checkpoint/restart is expected to be sequential,
I pass the file descriptor to checkpoint and restart, so
that will be up to the caller to open the file descriptor
which can be a pipe, socket, file, etc ...
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 34c66a6980bebf1ca9b7da87e627fc507a6c139a
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
Remove old code to destroy the network
Removed this unused code.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 3f739da8b51d141b0147b2da8502d1a2b885f878
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
remove checkpoint / restart code
The checkpoint / restart code is too experimental regarding
the current implementation in the kernel.
As there are several implementation and we don't know which
one will be merged upstream, I remove the code and add a few
parameters to checkpoint.
The checkpoint/restart function will be plugins in order to choose
the CR solutions. This approach will allow to switch from one
implementation to another without breaking anything.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 64e1ae63ebfeefd41ddf6857296742d02fecc30a
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
make use of the copy file function
Now we have specific function to copy the files, make use of it
and remove the old code.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit e3642c43e6599fb1bfdd2e763e034c5c46299a46
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Thu May 28 12:10:50 2009 +0200
make a "copy file" function
Create a specific function to copy a file from a location to
another location.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 8 --
src/lxc/Makefile.am | 2 +-
src/lxc/arguments.h | 4 +-
src/lxc/cgroup.c | 21 +++++-
src/lxc/cgroup.h | 3 +-
src/lxc/checkpoint.c | 39 +---------
src/lxc/conf.c | 145 +++++-----------------------------
src/lxc/lxc-netstat.in | 2 +-
src/lxc/lxc.h | 6 +-
src/lxc/lxc_checkpoint.c | 82 ++++++++++++++-----
src/lxc/lxc_create.c | 41 +++++++++-
src/lxc/lxc_destroy.c | 33 ++++++++-
src/lxc/lxc_restart.c | 2 +-
src/lxc/parse.c | 2 +-
src/lxc/restart.c | 200 +---------------------------------------------
src/lxc/start.c | 5 +-
src/lxc/utils.c | 104 ++++++++++++++++++++++++
src/lxc/utils.h | 2 +
18 files changed, 296 insertions(+), 405 deletions(-)
create mode 100644 src/lxc/utils.c
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list