No description
Find a file
Pavel Emelyanov 6ae4a97309 rpc: Report back first error message on failure
When running criu in swrk mode the client typically wants to know
the reason of failure. Right now criu reports back NOTHING but the
fact that dump/restore/etc fails. We've tried to address this by
introducing the cr-errno engine, but it doesn't seem to be informative
enough and is hard to maintain -- adding new errno-s is boring :(

I propose to report back the first message with ERROR level upon
failrure as __typically__ the very first error message indicates
that proceeding is impossible and criu rolls back (generating more
error messages, so it's crucial to know the very first one).

If we ever meet the situation that the first pr_err/pr_perror doesn't
cause criu to exit, this printing should be fixed to be pr_warn.

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
2016-09-06 19:31:21 +03:00
contrib contrib/docker_cr.sh: fix a typo in a comment 2016-08-11 16:18:43 +03:00
coredump coredump: Rename dir to coredump 2016-06-28 13:04:58 +03:00
crit crit/decode: set default opts['nopl'] to False 2016-05-30 13:47:54 +03:00
criu rpc: Report back first error message on failure 2016-09-06 19:31:21 +03:00
Documentation criu: fix some spelling errors in criu.txt 2016-06-28 13:12:59 +03:00
images rpc: Report back first error message on failure 2016-09-06 19:31:21 +03:00
lib criu: almost fix building on Alpine Linux 2016-07-09 22:04:26 +03:00
scripts pagemap: add an ability to disable pagemap cache 2016-09-06 19:31:20 +03:00
test test: fix race in transition/maps008 that lead to fail of test 2016-09-06 19:31:20 +03:00
.gitignore uninstall: use --record with setup.py, v2 2016-05-06 14:38:29 +03:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml travis: turn on alpine build 2016-09-06 19:00:21 +03:00
COPYING COPYING: fix a typo in a preamble 2016-08-11 16:18:43 +03:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
INSTALL.md build: Add INSTALL.md and update "make help" 2016-05-06 14:38:29 +03:00
Makefile build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
Makefile.install build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
Makefile.versions criu: Version 2.5 2016-08-15 15:40:05 +03:00
README.md Add ascciinema tour on basic criu features. 2016-06-16 16:37:06 +03:00

CRIU (Checkpoint and Restore in Userspace)

An utility to checkpoint/restore tasks. Using this tool, you can freeze a running application (or part of it) and checkpoint it to a hard drive as a collection of files. You can then use the files to restore and run the application from the point it was frozen at. The distinctive feature of the CRIU project is that it is mainly implemented in user space.

The project home is at http://criu.org.

Pages worth starting with are:

A video tour on basic CRIU features

CRIU introduction

How to contribute