2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00
criu/protobuf/rpc.proto

31 lines
655 B
Protocol Buffer
Raw Normal View History

message criu_dump_req {
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;
optional int32 log_level = 9 [default = 2];
}
message criu_dump_resp {
required bool success = 1;
optional bool restored = 2;
}
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;
}