Quoting Sukadev Bhattiprolu ([email protected]):
> 
> Following two sets of patches is an early attempt to integrate LXC and
> USER-CR. 
> 
> Overview:
> 
> Have USER-CR export the core checkpoint and restart functionality into a
> library (/lib/libcheckpoint.a and <usercr.h>) and have LXC link with this
> library.
> 
> TODO: 
> 
>       1. For now, libcheckpoint.a implements only the restart functionality
>          and so only lxc_restart command is implemented. Implementing the
>          checkpoint functionality and lxc_checkpoint command can be done
>          similarly and is hopefully easier than the restart functionality.
> 
>       2. The restart() functionality in user-cr makes extensive use of global
>          variables and debug code. The API must be extended to properly
>          include these variables/debug code in the API.
> 
>          Similarly, the 'struct restart_args' may need to be sanitized for
>          use in a formal API.
> 
>       3. lxc_restart command  restarts entire containers only (specifically
>          it simulates the --pidns --pids --mount-pty arguments to
>          /bin/restart).
> 
>       4. Link lxc_restart and lxc_checkpoint with the shared library
>          liblxc.so (currently links statically)
> 
>       5. ...
> 
> 
> STATUS:
>       I was able to checkpoint/restart a simple '/bin/sleep 1000' LXC
>       container, except for a cgroup naming issue after restart (see below).

Very nice, Suka.

-serge
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to