[CRIU] [PATCH 1/3] criu: arch, x86 -- Rename registers mode

Pavel Emelyanov xemul at virtuozzo.com
Wed Jul 13 06:22:34 PDT 2016


> --- a/images/core-x86.proto
> +++ b/images/core-x86.proto

Can you point me to any standard saying that changing names in proto files
doesn't break backward compatibility?

> @@ -2,7 +2,7 @@ syntax = "proto2";
>  
>  import "opts.proto";
>  
> -enum user_x86_regs_case_t {
> +enum user_x86_regs_mode {
>  	NATIVE = 1;
>  	COMPAT = 2;
>  }
> @@ -36,7 +36,7 @@ message user_x86_regs_entry {
>  	required uint64			es		= 25;
>  	required uint64			fs		= 26;
>  	required uint64			gs		= 27;
> -	optional user_x86_regs_case_t	gpregs_case	= 28 [default = NATIVE];
> +	optional user_x86_regs_mode	mode		= 28 [default = NATIVE];
>  }
>  
>  message user_x86_xsave_entry {
> 



More information about the CRIU mailing list