[CRIU] [PATCHv6 2/6] protobuf: rpc.proto

Ruslan Kuprieiev kupruser at gmail.com
Wed Sep 11 17:00:25 EDT 2013


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
-------------- next part --------------
diff --git a/protobuf/Makefile b/protobuf/Makefile
index 9051477..9a90087 100644
--- a/protobuf/Makefile
+++ b/protobuf/Makefile
@@ -56,6 +56,7 @@ proto-obj-y	+= file-lock.o
 proto-obj-y	+= rlimit.o
 proto-obj-y	+= pagemap.o
 proto-obj-y	+= siginfo.o
+proto-obj-y	+= rpc.o
 
 proto		:= $(proto-obj-y:.o=)
 proto-c		:= $(proto-obj-y:.o=.pb-c.c)
diff --git a/protobuf/rpc.proto b/protobuf/rpc.proto
new file mode 100644
index 0000000..b7b3e87
--- /dev/null
+++ b/protobuf/rpc.proto
@@ -0,0 +1,18 @@
+message criu_dump_req {
+	//
+	// FIXME Add more arguments.
+	//
+	required int32 pid		= 1; //if not set, will dump requesting process
+	required bool leave_running	= 2;
+	required bool ext_unix_sk	= 3;
+	required bool tcp_established	= 4;
+	required bool evasive_devices	= 5;
+	required bool shell_job		= 6;
+	required bool file_locks	= 7;
+	required int32 images_dir_fd	= 8;
+	required int32 log_level	= 9 [default = 2];
+}
+
+message criu_dump_resp {
+	required bool success		= 1;
+}



More information about the CRIU mailing list