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

Andrew Vagin avagin at parallels.com
Mon Sep 2 14:13:12 EDT 2013


Pls, use git send-email, it sets In-Reply-To for child messages.

On Mon, Sep 02, 2013 at 05:18:15PM +0400, Ruslan Kuprieiev wrote:
> We need criu-dump-args.proto for transferring criu args from library
> to criu.
> 

> 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..10d77a0
> --- /dev/null
> +++ b/protobuf/criu-dump-args.proto
> @@ -0,0 +1,7 @@
> +message criu_dump_args {
> +	required int32 version_major 	= 1;
> +	required int32 version_minor 	= 2;
> +	required int32 images_dir_fd	= 3;
> +	required uint64 flags		= 4;
> +	required string service_addr	= 5;
> +}
> 

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list