[CRIU] [PATCH 1/2] rpc: add work_dir_fd to criu_opts

Ruslan Kuprieiev kupruser at gmail.com
Tue Feb 4 00:10:25 PST 2014


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

diff --git a/protobuf/rpc.proto b/protobuf/rpc.proto
index 3bdc8e4..c5e3edb 100644
--- a/protobuf/rpc.proto
+++ b/protobuf/rpc.proto
@@ -15,7 +15,7 @@ message criu_opts {
 	optional bool shell_job		= 7;
 	optional bool file_locks	= 8;
 	optional int32 log_level	= 9 [default = 2];
-	optional string log_file	= 10;
+	optional string log_file	= 10; //NOTE: from now on, no subdirs are allowed. See --work-dir cmdline option.
 
 	optional criu_page_server_info ps = 11;
 
@@ -24,6 +24,8 @@ message criu_opts {
 	optional string root		= 13;
 	optional string parent_img	= 14;
 	optional bool track_mem		= 15;
+
+	optional int32 work_dir_fd	= 16;
 }
 
 message criu_dump_resp {
-- 
1.8.3.2



More information about the CRIU mailing list