[CRIU]  [PATCH 2/4] rpc: add multireq and ids
    Ruslan Kuprieiev 
    kupruser at gmail.com
       
    Sun Feb  2 02:55:56 PST 2014
    
    
  
We will need ids to match request with response in multireq mode.
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 3bdc8e4..def8e92 100644
--- a/protobuf/rpc.proto
+++ b/protobuf/rpc.proto
@@ -47,6 +47,8 @@ enum criu_req_type {
 	PAGE_SERVER	= 5;
 
 	NOTIFY		= 6;
+
+	MULTIREQ	= 7;
 }
 
 /*
@@ -59,6 +61,8 @@ message criu_req {
 
 	optional criu_opts opts	= 2;
 	optional bool notify_success = 3;
+
+	optional int32 id = 4;
 }
 
 /*
@@ -74,4 +78,6 @@ message criu_resp {
 	optional criu_restore_resp restore = 4;
 	optional criu_notify notify = 5;
 	optional criu_page_server_info ps = 6;
+
+	optional int32 id = 7;
 }
-- 
1.8.3.2
    
    
More information about the CRIU
mailing list