[CRIU] [PATCH 0/4] libcriu: Ability to restore processes as caller's children (v2)
Pavel Emelyanov
xemul at parallels.com
Tue Jun 24 12:35:28 PDT 2014
Hi
Currently libcriu only works as a service client. I.e. -- when we restore
from images using library the resulted tree becomes the child of init. This
is because libcriu asks for service to restore with --restore-detached
option.
Here's the proposal of criu_restore_child() call that restores from images
w/o service and makes the restored tree become child of the caller process.
Implementation details in patch #1.
This can be used by LXC/Docker -- daemons can restore the containers using
the library (another option is to restore containers with --exec-cmd post
action). This also can be used with OpenMPI -- AFAIK there's the same
problem (how to restore tasks "under" current) there.
Thanks,
Pavel
More information about the CRIU
mailing list