criu/protobuf
Cyrill Gorcunov 9d918c5964 protobuf: Convert core_entry to PB format v5
This requires some exlanations

 - Since we use protobuf data in restorer
   code we need to carry a copy of appropriate
   PB entities in resident memory. For this
   sake task_restore_core_args and thread_restore_args
   were significantly reworked. In short -- the caller
   code fills PB structures into task arguments space.

v3:
 - Combine everything arch related to thread_info field,
   and make it optional
 - Drop "version" field from message, we check version in
   another specific message
 - Don't forget to call core_entry__free_unpacked where needed
 - We continue dumping FPU state, still it's not yet restored

v4:
 - Don't carry task_core_entry and task_kobs_ids_entry for
   threads, and yield error if present in image.

v5:
 - Allocate core_entry depending on type of task being dumped

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-07-20 14:06:42 +04:00
..
core.proto protobuf: Convert core_entry to PB format v5 2012-07-20 14:06:42 +04:00
creds.proto pb: Switch creds to protobuf format 2012-07-19 12:35:25 +04:00
eventfd.proto protobuf: Convert eventfd data to protobuf engine 2012-07-17 07:24:54 +04:00
eventpoll.proto protobuf: Convert eventpoll data to protobuf engine 2012-07-17 07:25:40 +04:00
fdinfo.proto fdinfo: Make fdinfo.type be an enum 2012-07-19 10:18:37 +04:00
fh.proto protobuf: Convert inotify data to protobuf engine 2012-07-17 07:25:42 +04:00
fifo.proto protobuf: Use FifoEntry instead of struct fifo_entry 2012-07-17 07:18:40 +04:00
fown.proto protobuf: Use RegFileEntry instead of reg_file_entry structure v3 2012-07-17 07:17:02 +04:00
fs.proto protobuf: Convert struct fs_entry to PB engine 2012-07-17 07:28:38 +04:00
ghost-file.proto protobuf: Use GhostFileEntry instead of struct ghost_file_entry 2012-07-17 07:17:51 +04:00
inotify.proto protobuf: Convert inotify data to protobuf engine 2012-07-17 07:25:42 +04:00
inventory.proto images: Introduce the top-level file -- inventory 2012-07-19 17:37:25 +04:00
ipc-desc.proto protobuf: Convert IPC entries to PB format v2 2012-07-19 11:31:39 +04:00
ipc-msg.proto protobuf: Convert IPC entries to PB format v2 2012-07-19 11:31:39 +04:00
ipc-sem.proto protobuf: Convert IPC entries to PB format v2 2012-07-19 11:31:39 +04:00
ipc-shm.proto protobuf: Convert IPC entries to PB format v2 2012-07-19 11:31:39 +04:00
ipc-var.proto protobuf: Convert IPC entries to PB format v2 2012-07-19 11:31:39 +04:00
itimer.proto protobuf: Convert itimer_entry to PB format 2012-07-18 16:27:01 +04:00
Makefile protobuf: Convert core_entry to PB format v5 2012-07-20 14:06:42 +04:00
mm.proto protobuf: Convert mm_entry to PB format 2012-07-19 07:25:05 +04:00
mnt.proto protobuf: Convert mnt_entry to PB engine 2012-07-17 14:23:37 +04:00
pipe-data.proto protobuf: Convert struct pipe_data_entry to PB engine 2012-07-17 14:50:23 +04:00
pipe.proto protobuf: Convert pipe_entry to PB engine 2012-07-17 07:29:57 +04:00
pstree.proto protobuf: Convert pstree_entry to PB engine 2012-07-17 07:29:36 +04:00
regfile.proto protobuf: Use RegFileEntry instead of reg_file_entry structure v3 2012-07-17 07:17:02 +04:00
remap-file-path.proto protobuf: Use RemapFilePathEntry instead of struct remap_file_path_entry 2012-07-17 07:18:58 +04:00
sa.proto protobuf: Convert sa_entry to PB format 2012-07-18 16:25:06 +04:00
sk-inet.proto protobuf: Convert inet sockets to PB engine 2012-07-19 09:33:33 +04:00
sk-opts.proto protobuf: Convert sk_opts_entry to PB format 2012-07-19 09:31:00 +04:00
sk-packet.proto protobuf: Convert sk_packet_entry to PB engine 2012-07-17 08:03:43 +04:00
sk-unix.proto protobuf: Convert unix_sk_entry to PB engine v3 2012-07-19 09:32:55 +04:00
tcp-stream.proto protobuf: Convert tcp_stream_entry to PB engine 2012-07-17 07:52:44 +04:00
utsns.proto pb: Switch uts namespace image file to protobuf format 2012-07-19 14:52:30 +04:00
vma.proto protobuf: Convert vma_entry to PB format v3 2012-07-19 12:43:36 +04:00