[CRIU] [PATCH 1/2]v2 rpc: add check request

Ruslan Kuprieiev kupruser at gmail.com
Mon Nov 18 06:25:05 PST 2013


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

diff --git a/protobuf/rpc.proto b/protobuf/rpc.proto
index 5d1fbe7..e4ed148 100644
--- a/protobuf/rpc.proto
+++ b/protobuf/rpc.proto
@@ -20,10 +20,15 @@ message criu_restore_resp {
 	required int32 pid		= 1;
 }
 
+message criu_check_resp {
+	required bool kernel		= 1;
+}
+
 enum criu_req_type {
 	EMPTY		= 0;
 	DUMP		= 1;
 	RESTORE		= 2;
+	CHECK		= 3;
 }
 
 /*
@@ -48,4 +53,5 @@ message criu_resp {
 
 	optional criu_dump_resp	dump	= 3;
 	optional criu_restore_resp restore = 4;
+	optional criu_check_resp check	= 5;
 }
-- 
1.8.1.2



More information about the CRIU mailing list