2013-09-13 13:44:02 +04:00
|
|
|
message criu_dump_req {
|
2013-09-16 15:23:00 +04:00
|
|
|
required int32 images_dir_fd = 1;
|
|
|
|
optional int32 pid = 2; //if not set, will dump requesting process
|
|
|
|
|
|
|
|
optional bool leave_running = 3;
|
|
|
|
optional bool ext_unix_sk = 4;
|
|
|
|
optional bool tcp_established = 5;
|
|
|
|
optional bool evasive_devices = 6;
|
|
|
|
optional bool shell_job = 7;
|
|
|
|
optional bool file_locks = 8;
|
2013-09-16 15:21:13 +04:00
|
|
|
optional int32 log_level = 9 [default = 2];
|
2013-09-13 13:44:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
message criu_dump_resp {
|
|
|
|
required bool success = 1;
|
2013-09-16 15:21:13 +04:00
|
|
|
optional bool restored = 2;
|
2013-09-13 13:44:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
message criu_msg {
|
|
|
|
enum Type {
|
|
|
|
EMPTY = 0;
|
|
|
|
DUMPREQ = 1;
|
|
|
|
DUMPRESP = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
required Type type = 1;
|
|
|
|
|
|
|
|
optional criu_dump_req dump_req = 2;
|
|
|
|
optional criu_dump_resp dump_resp = 3;
|
|
|
|
}
|