Commit 44624667 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

proto: Align members and numbers

We're aligning members and number in protobuf
files from the very beginning for readability
sake. So fix up newer ones which were not.

Also use /* */ comments, not //.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3835ff83
......@@ -6,7 +6,7 @@ message criu_page_server_info {
message criu_opts {
required int32 images_dir_fd = 1;
optional int32 pid = 2; //if not set on dump, will dump requesting process
optional int32 pid = 2; /* if not set on dump, will dump requesting process */
optional bool leave_running = 3;
optional bool ext_unix_sk = 4;
......@@ -15,7 +15,7 @@ message criu_opts {
optional bool shell_job = 7;
optional bool file_locks = 8;
optional int32 log_level = 9 [default = 2];
optional string log_file = 10; // No subdirs are allowed. Consider using work-dir
optional string log_file = 10; /* No subdirs are allowed. Consider using work-dir */
optional criu_page_server_info ps = 11;
......
......@@ -6,9 +6,11 @@ message vma_entry {
required uint32 prot = 5;
required uint32 flags = 6;
required uint32 status = 7;
// This fd thing is unused in the image, it was lost
// while switching from execve restore model. It is
// -1 by default.
/*
* This fd thing is unused in the image, it was lost
* while switching from execve restore model. It is
* -1 by default.
*/
required sint64 fd = 8;
/* madvise flags bitmap */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment