2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00
Kinsbursky Stanislav e6f39a41bf restore: socket queues support
This patch was designed to be generic and thus usable for all kinds of
sockets. Not sure, thah this goal has been reached, but at least I tried.

Key ideas:
1) sockets queue dump file have to be readed first and then packets entries
   with offset for it's data in image will be collected in doubly linked list by
   read_sockets_queue() function.

Note: list will contain sockets queues for all (!) the sockets of the task.

2) socket queue can be restored by restore_socket_queue(), which selects
   packets from the list by passed id and use sendfile() top send them to the
   passed socket. It also removes packet from the list and frees it.

Based on xemul@ patches.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-02-29 17:42:30 +04:00
2012-02-20 14:23:28 +04:00
2012-02-29 17:42:30 +04:00
2012-02-07 18:37:03 +04:00
2012-01-19 22:00:11 +04:00
2011-12-05 14:11:05 +04:00
2012-02-29 17:42:30 +04:00
2012-02-29 14:46:42 +04:00
2012-02-29 17:42:30 +04:00
2012-01-23 01:43:10 +04:00
2012-02-20 14:23:28 +04:00
2012-02-15 13:33:46 +04:00
2012-02-29 17:42:30 +04:00
2012-02-29 17:42:30 +04:00
2011-09-23 12:00:45 +04:00
2012-02-16 22:05:28 +04:00
2012-02-28 19:13:47 +04:00
2012-01-29 16:26:36 +04:00
2012-02-29 17:42:30 +04:00
2012-02-02 21:22:20 +04:00
2012-02-20 14:23:28 +04:00

crtools
=======

An utility to checkpoint/restore tasks.

Some code snippets are borrowed from

 - Linux kernel (http://kernel.org/)
 - git (http://git-scm.com/)
 - kvm-tools (https://github.com/penberg/linux-kvm)
 - ptrace-parasite (https://code.google.com/p/ptrace-parasite/)

Many thanks to these projects.

Licensed under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt)
Description
No description provided
Readme 81 MiB
Languages
C 86%
Python 6.1%
Java 2.6%
Shell 2.6%
Makefile 2%
Other 0.7%