[CRIU] [PATCH 2/4] protobuf: add check request to rpc
Ruslan Kuprieiev
kupruser at gmail.com
Fri Nov 15 17:00:14 PST 2013
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
protobuf/rpc.proto | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/protobuf/rpc.proto b/protobuf/rpc.proto
index 5d1fbe7..42844a2 100644
--- a/protobuf/rpc.proto
+++ b/protobuf/rpc.proto
@@ -20,10 +20,17 @@ message criu_restore_resp {
required int32 pid = 1;
}
+message criu_check_resp {
+ required bool kernel = 1;
+ required bool dump = 2;
+ required bool restore = 3;
+}
+
enum criu_req_type {
EMPTY = 0;
DUMP = 1;
RESTORE = 2;
+ CHECK = 3;
}
/*
@@ -48,4 +55,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