- 21 Dec, 2015 7 commits
-
-
Stéphane Graber authored
Note that LXC 2.0 remains backward compatible with 1.0, so the ABI version is 1.2, not 2.0. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
KATOH Yasufumi authored
Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Sungbae Yoo authored
Update for commit 60656b37Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Sungbae Yoo authored
Update for commit a8dfe4e0 and 6039eaa2Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Tycho Andersen authored
This option is only available in recent master of criu, so let's require that since we're using it. Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Tycho Andersen authored
Since we can rename a container on a migrate, let's tell CRIU to use the LSM profile name the user has specified. This change is motivated by LXD, which sets an LSM profile name based on the container name, so if a user changes the name of a container during migration, the old profile name (that criu has saved) won't exist on the new host. Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Serge Hallyn authored
split bdev into modules
-
- 15 Dec, 2015 11 commits
-
-
Christian Brauner authored
Move - ovl_get_rootfs_dir() - mount_entry_create_overlay_dirs() from conf.h to overlay.{c,h} where they belong. Rename - mount_entry_create_overlay_dirs() --> ovl_mkdir() in accordance with the ovl_ prefix naming scheme for types and functions associated with overlay. Take the chance to add whitespace between operators where missing. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Use ovl_ as prefix for types and functions. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
With this commit we start to split bdev.{c,h} into modules located in the subfolder bdev. We start by creating a module for overlay: overlay.{c,h}. - The functions: - overlayfs_detect() - overlayfs_mount() - overlayfs_umount() - overlayfs_clonepaths() - overlayfs_destroy() - overlayfs_create() move from bdev.{c,h} to overlay.{c,h}. The only thing that remains in bdev.c is the static definition of - static const struct bdev_ops overlayfs_ops - The functions: - update_ovl_paths() - overlay_getlower() move from lxccontainer.c to overlay.{c,h}. update_ovl_paths() is used to update absolute paths for overlay lxc.mount.entry entries but it seems to fit more here than into lxccontainer.c. The Function overlay_getlower() is used to extract the lower directory for overlay (and aufs) rootfs. It should at some point become a common helper. - The functions: - do_rsync() - dir_new_path() remain in bdev.c for now but become extern. We declare them extern in overlay.c to be able to call them. As the comment to them correctly notices, they should at some point become common helpers and probably move to utils.{c,h} or some other more appropriate place. - The structs: - struct bdev; /* defined in bdev.h */ - struct bdev_specs; /* defined in lxccontainer.h */ - struct lxc_conf; /* defined conf.h */ are forward declared/put as incomplete types in overlay.h so that the functions have access to it. - The header overlay.h is *not* included in bdev.h but only in bdev.c so that when bdev.h is included the public functions in overlay.h cannot be accessed, i.e. if an implementation wants to call functions from overlay.h they need to explicitly include it. (As is e.g. done in the case of lxccontainer.c.) - The header - lxc-btrfs.h also moves to the bdev subfolder. - Adapt Makefile.am to the new bdev layout. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Stéphane Graber authored
lxc-top: print new line after flush terminal
-
Stéphane Graber authored
Return immediately in save_phys_nics if not run as root
-
Stéphane Graber authored
lxc-checkconfig: remove zgrep dependency
-
Wesley M authored
Signed-off-by:
Wesley Marques <wesleymr.27@gmail.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
fanyeren authored
I think this is a common feature for top-like programs. Signed-off-by: feng xiahou xiahoufeng@yahoo.com
-
Andre McCurdy authored
zgrep is a script provided by the 'gzip' package, which may not be installed on embedded systems etc which use busybox instead of the standard full-featured utilities. Signed-off-by:Andre McCurdy <armccurdy@gmail.com>
-
Stéphane Graber authored
Add Ceph RBD backingstore.
-
- 13 Dec, 2015 5 commits
-
-
Laurent Barbe authored
Signed-off-by:Laurent Barbe <laurent@ksperis.com>
-
Laurent Barbe authored
Signed-off-by:Laurent Barbe <laurent@ksperis.com>
-
Laurent Barbe authored
Signed-off-by:Laurent Barbe <laurent@ksperis.com>
-
Laurent Barbe authored
Signed-off-by:Laurent Barbe <laurent@ksperis.com>
-
Laurent Barbe authored
With lxc-create, this will create, map and mount a Rados blockdevice. A valid ceph.conf and ceph.client.admin.keyring is needed in /etc/ceph/ RBD mapping is not manage on reboot. Signed-off-by:Laurent Barbe <laurent@ksperis.com>
-
- 11 Dec, 2015 8 commits
-
-
Li Qiu authored
Physical nic is not instantiated in lxc_create_network Signed-off-by:Li Qiu <li.qiu@nomovok.com>
-
Christian Brauner authored
- explain functions in list.h - let lxc_list_len() return size_t instead of int Signed-off-by:
Christian Brauner <christian.brauner@mailbox.org> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:
Stéphane Graber <stgraber@ubuntu.com> Acked-by:
Serge Hallyn <serge.hallyn@canonical.com>
-
Stéphane Graber authored
lxc-top: limit BLKIO to 14 characters
-
fanyeren authored
limit BLKIO columns to 10 characters is too small,i think 14 is a better value Signed-off-by: feng xiahou xiahoufeng@yahoo.com
-
Stéphane Graber authored
lxc-top: limit CPU to 8 characters
-
fanyeren authored
limit CPU columns to 8 characters is too small,i think 12 is a better value
-
- 10 Dec, 2015 9 commits
-
-
Andrey Jr. Melnikov authored
Signed-off-by:
Andrey Jr. Melnikov <temnota.am@gmail.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:
Stéphane Graber <stgraber@ubuntu.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
Stéphane Graber authored
Improve the lxc-copy Japanese manpage
-
Serge Hallyn authored
Closes #712 Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Tycho Andersen authored
Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
Tycho Andersen authored
Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
Tycho Andersen authored
We'll use this in the next patch to escape to the root cgroup before we exec criu. v2: s/cgm_connected/cmg_needs_disconnect/g Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
Sungbae Yoo authored
Update for commit c154af98Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-
TAMUKI Shoichi authored
Add support for new target plamo to specify the linux distribution. Plamo Linux uses sysvinit. Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp> Signed-off-by:
TAMUKI Shoichi <tamuki@linet.gr.jp> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-