History log of /lxc/doc/lxc-checkpoint.sgml.in
Revision Date Author Comments Expand
129881b9d52cbe45ed1e2529da980fa231c4e97e 16-Feb-2016 Stéphane Graber <stgraber@ubuntu.com>

Fix doc build warnings Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

735f2c6e504a541cbb2592a3f94858bf337a24ff 26-Aug-2014 Tycho Andersen <tycho.andersen@canonical.com>

Add support for checkpoint and restore via CRIU This patch adds support for checkpointing and restoring containers via CRIU. It adds two api calls, ->checkpoint and ->restore, which are wrappers around the CRIU CLI. CRIU has an RPC API, but reasons for preferring exec() are discussed in [1]. To checkpoint, users specify a directory to dump the container metadata (CRIU dump files, plus some additional information about veth pairs and which bridges they are attached to) into this directory. On restore, this information is read out of the directory, a CRIU command line is constructed, and CRIU is exec()d. CRIU uses the lxc-restore-net callback (which in turn inspects the image directory with the NIC data) to properly restore the network. This will only work with the current git master of CRIU; anything as of a152c843 should work. There is a known bug where containers which have been restored cannot be checkpointed [2]. [1]: http://lists.openvz.org/pipermail/criu/2014-July/015117.html [2]: http://lists.openvz.org/pipermail/criu/2014-August/015876.html v2: fixed some problems with the s/int/bool return code form api function v3: added a testcase, fixed up the man page synopsis v4: fix a small typo in lxc-test-checkpoint-restore v5: remove a reference to the old CRIU_PATH, and a bad error about the same Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

33ddfc2adef00e3571137ef60d20de328e32d299 18-Jan-2014 Stéphane Graber <stgraber@ubuntu.com>

Deprecate lxc-checkpoint, lxc-kill and lxc-restart Checkpoint/restart isn't currently supported, so let's not carry those binaries around until we have proper CRIU support in the API. lxc-kill is redundant with lxc-stop -k and has been known to confuse user. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

250b1eec71b074acdff1c5f6b5a1f0d7d2c20b77 03-Sep-2013 Stéphane Graber <stgraber@ubuntu.com>

licensing: Add missing headers and FSF address Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

/lxc/autogen.sh common_options.sgml.in legacy/lxc-ls.sgml.in lxc-attach.sgml.in lxc-cgroup.sgml.in lxc-checkconfig.sgml.in lxc-checkpoint.sgml.in lxc-clone.sgml.in lxc-console.sgml.in lxc-create.sgml.in lxc-destroy.sgml.in lxc-device.sgml.in lxc-execute.sgml.in lxc-freeze.sgml.in lxc-info.sgml.in lxc-kill.sgml.in lxc-ls.sgml.in lxc-monitor.sgml.in lxc-netstat.sgml.in lxc-ps.sgml.in lxc-restart.sgml.in lxc-start-ephemeral.sgml.in lxc-start.sgml.in lxc-stop.sgml.in lxc-top.sgml.in lxc-unfreeze.sgml.in lxc-unshare.sgml.in lxc-version.sgml.in lxc-wait.sgml.in lxc.conf.sgml.in lxc.sgml.in see_also.sgml.in /lxc/hooks/mountcgroups /lxc/hooks/mountecryptfsroot /lxc/lxc.spec.in /lxc/runapitests.sh /lxc/src/include/getline.c /lxc/src/include/getline.h /lxc/src/include/lxcmntent.c /lxc/src/include/lxcmntent.h /lxc/src/include/openpty.c /lxc/src/include/openpty.h /lxc/src/lxc/af_unix.c /lxc/src/lxc/af_unix.h /lxc/src/lxc/apparmor.c /lxc/src/lxc/apparmor.h /lxc/src/lxc/arguments.c /lxc/src/lxc/arguments.h /lxc/src/lxc/attach.c /lxc/src/lxc/attach.h /lxc/src/lxc/attach_options.h /lxc/src/lxc/bdev.c /lxc/src/lxc/bdev.h /lxc/src/lxc/caps.c /lxc/src/lxc/caps.h /lxc/src/lxc/cgroup.c /lxc/src/lxc/cgroup.h /lxc/src/lxc/checkpoint.c /lxc/src/lxc/commands.c /lxc/src/lxc/commands.h /lxc/src/lxc/conf.c /lxc/src/lxc/conf.h /lxc/src/lxc/confile.c /lxc/src/lxc/confile.h /lxc/src/lxc/console.c /lxc/src/lxc/console.h /lxc/src/lxc/error.c /lxc/src/lxc/error.h /lxc/src/lxc/execute.c /lxc/src/lxc/freezer.c /lxc/src/lxc/genl.c /lxc/src/lxc/genl.h /lxc/src/lxc/legacy/lxc-ls.in /lxc/src/lxc/list.c /lxc/src/lxc/list.h /lxc/src/lxc/log.c /lxc/src/lxc/log.h /lxc/src/lxc/lxc-destroy.in /lxc/src/lxc/lxc-device /lxc/src/lxc/lxc-ls /lxc/src/lxc/lxc-netstat.in /lxc/src/lxc/lxc-ps.in /lxc/src/lxc/lxc-start-ephemeral.in /lxc/src/lxc/lxc.functions.in /lxc/src/lxc/lxc.h /lxc/src/lxc/lxc_attach.c /lxc/src/lxc/lxc_cgroup.c /lxc/src/lxc/lxc_checkpoint.c /lxc/src/lxc/lxc_config.c /lxc/src/lxc/lxc_console.c /lxc/src/lxc/lxc_execute.c /lxc/src/lxc/lxc_freeze.c /lxc/src/lxc/lxc_info.c /lxc/src/lxc/lxc_init.c /lxc/src/lxc/lxc_kill.c /lxc/src/lxc/lxc_monitor.c /lxc/src/lxc/lxc_monitord.c /lxc/src/lxc/lxc_restart.c /lxc/src/lxc/lxc_start.c /lxc/src/lxc/lxc_stop.c /lxc/src/lxc/lxc_unfreeze.c /lxc/src/lxc/lxc_unshare.c /lxc/src/lxc/lxc_usernsexec.c /lxc/src/lxc/lxc_wait.c /lxc/src/lxc/lxccontainer.h /lxc/src/lxc/lxcseccomp.h /lxc/src/lxc/lxcutmp.c /lxc/src/lxc/lxcutmp.h /lxc/src/lxc/mainloop.c /lxc/src/lxc/mainloop.h /lxc/src/lxc/monitor.c /lxc/src/lxc/monitor.h /lxc/src/lxc/namespace.c /lxc/src/lxc/namespace.h /lxc/src/lxc/network.c /lxc/src/lxc/network.h /lxc/src/lxc/nl.c /lxc/src/lxc/nl.h /lxc/src/lxc/parse.c /lxc/src/lxc/parse.h /lxc/src/lxc/restart.c /lxc/src/lxc/rtnl.c /lxc/src/lxc/rtnl.h /lxc/src/lxc/seccomp.c /lxc/src/lxc/start.c /lxc/src/lxc/start.h /lxc/src/lxc/state.c /lxc/src/lxc/state.h /lxc/src/lxc/sync.c /lxc/src/lxc/sync.h /lxc/src/lxc/utils.c /lxc/src/lxc/utils.h /lxc/src/lxc/version.c /lxc/src/lxc/version.h /lxc/src/python-lxc/examples/api_test.py /lxc/src/python-lxc/examples/pyconsole-vte.py /lxc/src/python-lxc/examples/pyconsole.py /lxc/src/python-lxc/lxc.c /lxc/src/python-lxc/lxc/__init__.py /lxc/src/python-lxc/setup.py /lxc/src/tests/lxc-test-usernic /lxc/templates/lxc-altlinux.in /lxc/templates/lxc-archlinux.in /lxc/templates/lxc-busybox.in /lxc/templates/lxc-debian.in /lxc/templates/lxc-fedora.in /lxc/templates/lxc-opensuse.in /lxc/templates/lxc-oracle.in /lxc/templates/lxc-sshd.in
7f95145833bb24f54e037f73ecc37444d6635697 30-Apr-2013 Dwight Engen <dwight.engen@oracle.com>

fix building docs Commit 69fe23ff added checking for the older docbook2man back into configure, but this breaks building the docs on at least Oracle Linux and Fedora when docbook2X is not installed as docbook2man will be found but the docs don't actually build with that tool. This change makes it so the docs can be built with either the older docbook2man or the newer 2X tools by using configure to set the dtd string to an appropriate value depending on use of docbook2man or db2x_docbook2man. Also fixed a small error in lxc-destroy.sgml.in that was noticed by the old tools. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>

9afe19d634946d50eab30e3b90cb5cebcde39eea 19-Mar-2013 Daniel Lezcano <daniel.lezcano@free.fr>

Change author email address Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>

/lxc/MAINTAINERS common_options.sgml.in lxc-attach.sgml.in lxc-cgroup.sgml.in lxc-checkpoint.sgml.in lxc-clone.sgml.in lxc-console.sgml.in lxc-create.sgml.in lxc-destroy.sgml.in lxc-execute.sgml.in lxc-freeze.sgml.in lxc-kill.sgml.in lxc-ls.sgml.in lxc-monitor.sgml.in lxc-ps.sgml.in lxc-restart.sgml.in lxc-start.sgml.in lxc-stop.sgml.in lxc-unfreeze.sgml.in lxc-unshare.sgml.in lxc-wait.sgml.in lxc.conf.sgml.in lxc.sgml.in see_also.sgml.in /lxc/lxc.spec.in /lxc/src/lxc/af_unix.c /lxc/src/lxc/af_unix.h /lxc/src/lxc/arguments.c /lxc/src/lxc/arguments.h /lxc/src/lxc/attach.c /lxc/src/lxc/attach.h /lxc/src/lxc/caps.c /lxc/src/lxc/caps.h /lxc/src/lxc/cgroup.c /lxc/src/lxc/cgroup.h /lxc/src/lxc/checkpoint.c /lxc/src/lxc/commands.c /lxc/src/lxc/commands.h /lxc/src/lxc/conf.c /lxc/src/lxc/conf.h /lxc/src/lxc/confile.c /lxc/src/lxc/confile.h /lxc/src/lxc/console.c /lxc/src/lxc/console.h /lxc/src/lxc/error.c /lxc/src/lxc/error.h /lxc/src/lxc/execute.c /lxc/src/lxc/freezer.c /lxc/src/lxc/genl.c /lxc/src/lxc/genl.h /lxc/src/lxc/list.c /lxc/src/lxc/log.h /lxc/src/lxc/lxc.h /lxc/src/lxc/lxc_attach.c /lxc/src/lxc/lxc_cgroup.c /lxc/src/lxc/lxc_checkpoint.c /lxc/src/lxc/lxc_console.c /lxc/src/lxc/lxc_execute.c /lxc/src/lxc/lxc_freeze.c /lxc/src/lxc/lxc_info.c /lxc/src/lxc/lxc_init.c /lxc/src/lxc/lxc_kill.c /lxc/src/lxc/lxc_monitor.c /lxc/src/lxc/lxc_restart.c /lxc/src/lxc/lxc_start.c /lxc/src/lxc/lxc_stop.c /lxc/src/lxc/lxc_unfreeze.c /lxc/src/lxc/lxc_unshare.c /lxc/src/lxc/lxc_wait.c /lxc/src/lxc/lxcutmp.c /lxc/src/lxc/lxcutmp.h /lxc/src/lxc/mainloop.c /lxc/src/lxc/mainloop.h /lxc/src/lxc/monitor.c /lxc/src/lxc/monitor.h /lxc/src/lxc/namespace.c /lxc/src/lxc/namespace.h /lxc/src/lxc/network.c /lxc/src/lxc/network.h /lxc/src/lxc/nl.c /lxc/src/lxc/nl.h /lxc/src/lxc/parse.c /lxc/src/lxc/parse.h /lxc/src/lxc/restart.c /lxc/src/lxc/rtnl.c /lxc/src/lxc/rtnl.h /lxc/src/lxc/start.c /lxc/src/lxc/start.h /lxc/src/lxc/state.c /lxc/src/lxc/state.h /lxc/src/lxc/stop.c /lxc/src/lxc/sync.c /lxc/src/lxc/sync.h /lxc/src/lxc/utils.c /lxc/src/lxc/utils.h /lxc/src/lxc/version.c /lxc/src/lxc/version.h
aa8d013ec5b09cd1cd904173d6234ef126eb2126 12-Nov-2012 Peter Simons <simons@cryp.to>

Update documentation to Docbook 4.5 The package 'docbook-tools' [1] required to format Docbook 3.0 into man pages has been obsoleted a long time ago and can no longer be downloaded from its former homepage. Recent versions of that package -- now called 'docbook2X' --, cannot deal with that old markup format anymore (and don't support the '-w all' command line switch either). To remedy these issues, all SGML files have been updated to Docbook 4.5 so that recent versions of docbook2man can process them. [1] http://sources.redhat.com/docbook-tools/ [2] http://docbook2x.sourceforge.net/ Signed-off-by: Peter Simons <simons@cryp.to> Acked-by: Stéphane Graber <stgraber@ubuntu.com>

f282a2f4b8f1d44702eb746c8554408d802f402d 12-Nov-2012 Stéphane Graber <stgraber@ubuntu.com>

Revert "Update documentation to Docbook 4.5" This reverts commit 9a84044bc97098821cce2721ea40a1368f17a091. The changes made the branch to fail to build on Ubuntu/Debian, so reverting the commits and re-opening the pull request. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>

75d0acd48f46e63b3d6e835ffbf36a771ecd2a4a 12-Nov-2012 Peter Simons <simons@cryp.to>

Update documentation to Docbook 4.5 The package 'docbook-tools' [1] required to format Docbook 3.0 into man pages has been obsoleted a long time ago and can no longer be downloaded from its former homepage. Recent versions of that package -- now called 'docbook2X' --, cannot deal with that old markup format anymore (and don't support the '-w all' command line switch either). To remedy these issues, all SGML files have been updated to Docbook 4.5 so that recent versions of docbook2man can process them. [1] http://sources.redhat.com/docbook-tools/ [2] http://docbook2x.sourceforge.net/ Signed-off-by: Peter Simons <simons@cryp.to>

b4578c5b380130a41a69b5b49c970157acaf1dbb 25-Oct-2012 Dwight Engen <dwight.engen@oracle.com>

lxc-doc-synopsis-args I was getting raw nroff ".SH DESCRIPTION" in my man pages. This fixes the synopsis cmd args so that doesn't happen. Added replaceable to a few arguments. Signed-off-by: Dwight Engen <dwight.engen@oracle.com>

a3e80ccc743c3fe3dc4eecd4da31004eba5924f7 17-Feb-2011 Rob Landley <rlandley@parallels.com>

fix lxc-checkpoint and lxc-restart sgml labels The patch fixes two build breaks in the sgml files: lxc-checkpoint.sgml.in Element Title in namespace '' encountered in refsect1, but no template matches. lxc-restart.sgml:58: parser error : AttValue: " or ' expected <arg choice=req><option>--name=<replaceable>NAME</replaceable></option></a Signed-off-by: Rob Landley <rlandley@parallels.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

9887d6c6c22613ce9c94f15179719212df4c4d8e 28-May-2010 Daniel Lezcano <dlezcano@fr.ibm.com>

update checkpoint / restart man page Notify the checkpoint / restart commands do nothing for the moment. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>

396639d4247ffd9aaf09a814305fd1d57fef7b58 28-May-2010 Daniel Lezcano <dlezcano@fr.ibm.com>

update lxc-checkpoint / lxc-restart man Add documentation for checkpoint / restart CLI. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>