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> |
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> |
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> |