[CRIU] [PATCHv4 1/4] protobuf: add criu-dump-args.proto

Ruslan Kuprieiev kupruser at gmail.com
Tue Sep 3 10:44:16 EDT 2013


We need criu-dump-args.proto for transferring criu args from library to 
criu.


-------------- next part --------------
commit 7064261a018d40fbc8175661369c9b85df95a26f
Author: Kuprieiev Ruslan <kupruser at gmail.com>
Date:   Tue Sep 3 17:38:21 2013 +0400

    ---------------

diff --git a/protobuf/Makefile b/protobuf/Makefile
index 9051477..66fac9a 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	+= criu-dump-args.o
 
 proto		:= $(proto-obj-y:.o=)
 proto-c		:= $(proto-obj-y:.o=.pb-c.c)
diff --git a/protobuf/criu-dump-args.proto b/protobuf/criu-dump-args.proto
new file mode 100644
index 0000000..fbe6fae
--- /dev/null
+++ b/protobuf/criu-dump-args.proto
@@ -0,0 +1,6 @@
+message criu_dump_args {
+	required int32 version_major 	= 1;
+	required int32 version_minor 	= 2;
+	required int32 images_dir_fd	= 3;
+	required uint64 flags		= 4;
+}




More information about the CRIU mailing list