[CRIU] [PATCH 3/5] rpc: add criu_ctrl message

Ruslan Kuprieiev kupruser at gmail.com
Tue Dec 3 08:20:37 PST 2013


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 protobuf/rpc.proto | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/protobuf/rpc.proto b/protobuf/rpc.proto
index 90a837d..c2a37b7 100644
--- a/protobuf/rpc.proto
+++ b/protobuf/rpc.proto
@@ -13,6 +13,11 @@ message criu_opts {
 	optional bool self_dump		= 11;
 }
 
+message criu_ctrl {
+	optional bool session		= 1;
+	optional string session_log	= 2;
+}
+
 message criu_dump_resp {
 	optional bool restored		= 1;
 }
@@ -26,6 +31,7 @@ enum criu_req_type {
 	DUMP		= 1;
 	RESTORE		= 2;
 	CHECK		= 3;
+	CTRL		= 4;
 }
 
 /*
@@ -37,6 +43,7 @@ message criu_req {
 	required criu_req_type type	= 1;
 
 	optional criu_opts opts	= 2;
+	optional criu_ctrl ctrl = 3;
 }
 
 /*
-- 
1.8.1.2



More information about the CRIU mailing list