[CRIU] [PATCHv2 1/4] rpc: add restore to rpc.proto

Ruslan Kuprieiev kupruser at gmail.com
Wed Oct 2 12:42:18 PDT 2013


Add restore to rpc.proto.
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
-------------- next part --------------
---
diff --git a/protobuf/rpc.proto b/protobuf/rpc.proto
index 587abdb..5d1fbe7 100644
--- a/protobuf/rpc.proto
+++ b/protobuf/rpc.proto
@@ -16,9 +16,14 @@ message criu_dump_resp {
 	optional bool restored		= 1;
 }
 
+message criu_restore_resp {
+	required int32 pid		= 1;
+}
+
 enum criu_req_type {
 	EMPTY		= 0;
 	DUMP		= 1;
+	RESTORE		= 2;
 }
 
 /*
@@ -42,4 +47,5 @@ message criu_resp {
 	required bool success		= 2;
 
 	optional criu_dump_resp	dump	= 3;
+	optional criu_restore_resp restore = 4;
 }


More information about the CRIU mailing list