Commit cdba0c87 authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

rpc: add restore to rpc.proto

Add restore to rpc.proto.
Signed-off-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4b99ec46
...@@ -16,9 +16,14 @@ message criu_dump_resp { ...@@ -16,9 +16,14 @@ message criu_dump_resp {
optional bool restored = 1; optional bool restored = 1;
} }
message criu_restore_resp {
required int32 pid = 1;
}
enum criu_req_type { enum criu_req_type {
EMPTY = 0; EMPTY = 0;
DUMP = 1; DUMP = 1;
RESTORE = 2;
} }
/* /*
...@@ -42,4 +47,5 @@ message criu_resp { ...@@ -42,4 +47,5 @@ message criu_resp {
required bool success = 2; required bool success = 2;
optional criu_dump_resp dump = 3; optional criu_dump_resp dump = 3;
optional criu_restore_resp restore = 4;
} }
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