[lxc-devel] [GIT] lxc branch, master, updated. a7856c55450b772f4b979b1158cb1433002084dd

Daniel Lezcano git at users.sourceforge.net
Tue Nov 17 09:58:22 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  a7856c55450b772f4b979b1158cb1433002084dd (commit)
       via  92db2bb00ce2acebc0b9818b56238aa5afe313ff (commit)
       via  994f905eedc92bc69dbc29b1a967adc72abb69ae (commit)
       via  aef4ebcf22406cb0b14fe0dd32acf3b936522d5e (commit)
       via  00b3c2e2845792face31017e905f9b8b4ea48653 (commit)
      from  b0691f8179557405fe1c8ac4b9fc458ea1bff954 (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 a7856c55450b772f4b979b1158cb1433002084dd
Author: Andrian Nord <nightnord at gmail.com>
Date:   Tue Nov 17 10:56:24 2009 +0100

    lxc-netstat should use @LXCPATH@ for lxcpath=
    
    Typo ;)
    
    Signed-off-by: Andrian Nord <NightNord at gmail.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 92db2bb00ce2acebc0b9818b56238aa5afe313ff
Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Tue Nov 17 10:56:24 2009 +0100

    batched reads for lxc_console
    
    Instead of doing I/O one-byte-at-a-time in lxc_console,
    which is slow, let's do it in batches.  Only for output
    (from container to the host system), since input is most
    likely one-byte-at-a-time anyway (from a keyboard).
    
    Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 994f905eedc92bc69dbc29b1a967adc72abb69ae
Author: Michael Tokarev <mjt at tls.msk.ru>
Date:   Tue Nov 17 10:56:24 2009 +0100

    host consoles/ttys in containers
    
    I noticed that container's consoles aren't quite useable
    (be it lxc-console or lxc-start with getty bound to /dev/console).
    The main problem is a complete lack of window resizing support:
    when I resize an xterm window with lxc-start or lxc-console, the
    "guest" does not know about that and continues to think that the
    terminal is 80x25 still.
    
    Is it just a lack of functionality (missing implementation) or
    something problematic?
    
    Ok, the attached patch fixes this.
    
    It moves the 'master' variable out of main function so it's
    accessible from the signal handler, sets up SIGWINCH handler
    to call a (newly created) winsz() function that gets the
    current tty size using TIOCGWINSZ ioctl and if that works,
    sets up the pty size using TIOCSWINSZ.  That same function
    is called at the start as well, when setting up the signal
    handler.
    
    Signed-off-By: Michael Tokarev <mjt at tls.msk.ru>
    Signed-off-By: Daniel Lezcano <dlezcano at fr.ibm.com>

commit aef4ebcf22406cb0b14fe0dd32acf3b936522d5e
Author: Andrian Nord <nightnord at gmail.com>
Date:   Tue Nov 17 10:56:23 2009 +0100

    Choose configuration directory
    
    Maybe it will be more logical to keep configs into /etc/lxc/?
    
    Or, maybe, just use --with-config-path=/some/path switch into configure,
    which could be overridden as user wants to? Something like this one (in
    assumption, that this is up to user to create corresponding directory):
    
    Signed-off-by: Andrian Nord <NightNord at gmail.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 00b3c2e2845792face31017e905f9b8b4ea48653
Author: Cedric Le Goater <clg at vnet.ibm.com>
Date:   Tue Nov 17 10:56:23 2009 +0100

    cleanup <lxc/lxc.h>
    
    <lxc/lxc.h>  should only include what is needed. This patch removes
    all useless headers from lxc.h and fixed other .c files.
    
    Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

-----------------------------------------------------------------------

Summary of changes:
 configure.ac             |   10 ++++++++--
 src/lxc/cgroup.c         |    3 ++-
 src/lxc/checkpoint.c     |    5 +----
 src/lxc/commands.c       |    4 +++-
 src/lxc/conf.c           |    3 ++-
 src/lxc/conf.h           |    2 ++
 src/lxc/confile.c        |    2 +-
 src/lxc/confile.h        |    2 ++
 src/lxc/console.c        |    5 ++++-
 src/lxc/freezer.c        |    3 ++-
 src/lxc/lxc-netstat.in   |    7 +------
 src/lxc/lxc.h            |   12 +++---------
 src/lxc/lxc_cgroup.c     |    2 ++
 src/lxc/lxc_checkpoint.c |    5 ++++-
 src/lxc/lxc_console.c    |   34 +++++++++++++++++++++++++++-------
 src/lxc/lxc_execute.c    |    4 +++-
 src/lxc/lxc_freeze.c     |    2 ++
 src/lxc/lxc_info.c       |    2 ++
 src/lxc/lxc_init.c       |    6 +++++-
 src/lxc/lxc_monitor.c    |    2 ++
 src/lxc/lxc_restart.c    |    4 +++-
 src/lxc/lxc_start.c      |    2 ++
 src/lxc/lxc_stop.c       |    2 ++
 src/lxc/lxc_unfreeze.c   |    2 ++
 src/lxc/lxc_unshare.c    |    3 ++-
 src/lxc/lxc_wait.c       |    2 ++
 src/lxc/monitor.c        |    4 +++-
 src/lxc/namespace.c      |    2 +-
 src/lxc/restart.c        |    3 ---
 src/lxc/start.c          |   13 ++++++++-----
 src/lxc/start.h          |    7 ++++++-
 src/lxc/state.c          |    2 +-
 src/lxc/stop.c           |    4 +++-
 33 files changed, 113 insertions(+), 52 deletions(-)


hooks/post-receive
-- 
lxc




More information about the lxc-devel mailing list