• Cyrill Gorcunov's avatar
    protobuf: Convert core_entry to PB format v5 · 9d918c59
    Cyrill Gorcunov authored
    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: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    9d918c59
Name
Last commit
Last update
..
Makefile Loading commit data...
core.proto Loading commit data...
creds.proto Loading commit data...
eventfd.proto Loading commit data...
eventpoll.proto Loading commit data...
fdinfo.proto Loading commit data...
fh.proto Loading commit data...
fifo.proto Loading commit data...
fown.proto Loading commit data...
fs.proto Loading commit data...
ghost-file.proto Loading commit data...
inotify.proto Loading commit data...
inventory.proto Loading commit data...
ipc-desc.proto Loading commit data...
ipc-msg.proto Loading commit data...
ipc-sem.proto Loading commit data...
ipc-shm.proto Loading commit data...
ipc-var.proto Loading commit data...
itimer.proto Loading commit data...
mm.proto Loading commit data...
mnt.proto Loading commit data...
pipe-data.proto Loading commit data...
pipe.proto Loading commit data...
pstree.proto Loading commit data...
regfile.proto Loading commit data...
remap-file-path.proto Loading commit data...
sa.proto Loading commit data...
sk-inet.proto Loading commit data...
sk-opts.proto Loading commit data...
sk-packet.proto Loading commit data...
sk-unix.proto Loading commit data...
tcp-stream.proto Loading commit data...
utsns.proto Loading commit data...
vma.proto Loading commit data...