[lxc-devel] [GIT] lxc branch, master, updated. 5e4a62bf32e60af0ad9e686006d28f59db64d807
Daniel Lezcano
git at users.sourceforge.net
Fri Oct 9 09:39:03 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 5e4a62bf32e60af0ad9e686006d28f59db64d807 (commit)
via 5f4535a3d982a1a1f4bd12a873bfbce477904fb8 (commit)
via 4bf1968d3c0bb29ca4c068194f02975a5dfa2385 (commit)
via 82d5ae15e7196e2c917457203a47c1e1d83e81b6 (commit)
via 571e6ec89e5165083a28eb148824a233c56e14d7 (commit)
via 88d5514d1665625f7a8876c09186f249a23e3e55 (commit)
via 102a53038a6d3485d7dc62e10cb964bb9e43a645 (commit)
via 9f44c57836626d8eb16c7bba4a5f5d88db74df01 (commit)
via 14ad6bfdf0b3c994ab76687709dea6dd2274ad02 (commit)
via a6ddef6149858df87cf7ab3c21e2fd34d14cc452 (commit)
via 758437c558fbfb7fdce3579423e1fc5a9e03c1f3 (commit)
via 52e3595723543a992e6e28fe9d5b312dbe8cab89 (commit)
via 1bc60a65c97a8723327a6e2881f1ffa8dd94641e (commit)
via d852c78cf0f3d0f12634ac0c71a19acef90f26e8 (commit)
via 4e5440c654c73d8a013e375933bbad33b55dc010 (commit)
via c69bd12f8878620fc71cd1b7a288f912a13db725 (commit)
via ecb0e51b0cb33e7c779207c867bca7d0e0faa232 (commit)
via df83bf6f97e5ddbe50a31aaa75078014d52c0288 (commit)
from 6a6ad7af58ba541ea27300fdd05715ef9454ce8e (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 5e4a62bf32e60af0ad9e686006d28f59db64d807
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
fix tty creation using confdir
tty_create uses the old conf directory, fixing this.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 5f4535a3d982a1a1f4bd12a873bfbce477904fb8
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
fix netdev structure vs network structure
The netdev vs network structure is not well defined. Fix that.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 4bf1968d3c0bb29ca4c068194f02975a5dfa2385
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
Factor out some network code
We can factor out the "ip addr add"
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 82d5ae15e7196e2c917457203a47c1e1d83e81b6
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
Use the configuration structure for the network
We don't want to use anymore the configuration directory,
let's use the configuration structure.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 571e6ec89e5165083a28eb148824a233c56e14d7
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
Move configuration info to the structure
Move configuration informations from the handler structure to
the configuration structure.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 88d5514d1665625f7a8876c09186f249a23e3e55
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
Move the configuration file to the start function
We want to store more information in the configuration structure,
especially the ttys.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 102a53038a6d3485d7dc62e10cb964bb9e43a645
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
use the configuration structure for the cgroup
Do not use the directory configuration
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 9f44c57836626d8eb16c7bba4a5f5d88db74df01
Author: Michel Normand <normand at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
remove the LXCPATH/<name>/nsgroup file
There is no more need of this file so remove it.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 14ad6bfdf0b3c994ab76687709dea6dd2274ad02
Author: Michel Normand <normand at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
use the new nsgroup_path_get function in freezer.c
to avoid to use the LXCPATH/<name>/nsgroup
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit a6ddef6149858df87cf7ab3c21e2fd34d14cc452
Author: Michel Normand <normand at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
new lxc_cgroup_path_get function
remove the usage of LXCPATH/<name>/nsgroup
in get/set function.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 758437c558fbfb7fdce3579423e1fc5a9e03c1f3
Author: Michel Normand <normand at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
place nscgroup path in lxc_handler
this also avoid to call two times get_cgroup_mount
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 52e3595723543a992e6e28fe9d5b312dbe8cab89
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
use the configuration structure for the tty
Do not use the directory configuration
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 1bc60a65c97a8723327a6e2881f1ffa8dd94641e
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:39 2009 +0200
use configuration structure for the mount points
Do not use the directory configuration for the mount points.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit d852c78cf0f3d0f12634ac0c71a19acef90f26e8
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:38 2009 +0200
Use the configuration structure for pts
Avoid to use the directory structure.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 4e5440c654c73d8a013e375933bbad33b55dc010
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:38 2009 +0200
use the configuration structure to setup the utsname
Use the configuration structure, not the directory configuration
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit c69bd12f8878620fc71cd1b7a288f912a13db725
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:38 2009 +0200
use the configuration structure for setting up the rootfs
use the configuration structure for setting up the rootfs
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit ecb0e51b0cb33e7c779207c867bca7d0e0faa232
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:38 2009 +0200
use the configuration to check if a resource is enabled
Remove the usage of the directory config for the setup and use the
configuration structure instead.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit df83bf6f97e5ddbe50a31aaa75078014d52c0288
Author: Daniel Lezcano <dlezcano at fr.ibm.com>
Date: Fri Oct 9 11:38:38 2009 +0200
Read the config file at restart
This patch makes the configuration to read the configuration
file in order to pass the configuration to the different functions.
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
src/lxc/Makefile.am | 5 +-
src/lxc/cgroup.c | 68 ++--
src/lxc/cgroup.h | 6 +-
src/lxc/commands.c | 2 +-
src/lxc/conf.c | 1192 +++++++++++----------------------------------------
src/lxc/conf.h | 67 ++--
src/lxc/confile.c | 111 ++----
src/lxc/console.c | 2 +-
src/lxc/freezer.c | 12 +-
src/lxc/network.c | 108 +----
src/lxc/network.h | 8 +-
src/lxc/start.c | 52 ++-
src/lxc/start.h | 4 +-
13 files changed, 438 insertions(+), 1199 deletions(-)
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list