mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
protobuf: Start switching our image entries to Google's protobuf
A short story -- there were a long conversation on which format should be used to keep checkpointed data on disk image. We ended up in using Google's Protocol Buffers (see https://developers.google.com/protocol-buffers/ for detailed description). Thus image entries should be convered to PB. This patch converts fdinfo_entry to PB "message fdinfo_entry". Build note: one should have protobuf and protobuf-c installed to be able to build crtools. - http://code.google.com/p/protobuf/ - http://code.google.com/p/protobuf-c/ Inspired-by: Pavel Emelianov <xemul@parallels.com> Inspired-by: Kinsbursky Stanislav <skinsbursky@openvz.org> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
c75b4b70fc
commit
a1fe3caf04
@@ -30,7 +30,7 @@ u32 fd_id_generate_special(void)
|
||||
return fd_tree.subid++;
|
||||
}
|
||||
|
||||
int fd_id_generate(pid_t pid, struct fdinfo_entry *fe)
|
||||
int fd_id_generate(pid_t pid, FdinfoEntry *fe)
|
||||
{
|
||||
u32 id;
|
||||
struct kid_elem e;
|
||||
|
Reference in New Issue
Block a user