[CRIU] [PATCH 1/2] criu: Introduce the --deprecated/CRIU_DEPRECATED option

Dmitry Safonov dsafonov at virtuozzo.com
Fri Aug 12 04:22:50 PDT 2016


On 08/12/2016 02:08 PM, Pavel Emelyanov wrote:
> This is the option that would enable the deprecated (to be removed)
> functionality. For convenience it's also possible to set one via
> the environment.
>
> Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>

[...]

> diff --git a/criu/crtools.c b/criu/crtools.c
> index 7e11c22..bde8a48 100644
> --- a/criu/crtools.c
> +++ b/criu/crtools.c
> @@ -324,6 +335,7 @@ int main(int argc, char *argv[], char *envp[])
>  		{ "cgroup-props-file",		required_argument,	0, 1081	},
>  		{ "cgroup-dump-controller",	required_argument,	0, 1082	},
>  		{ SK_INFLIGHT_PARAM,		no_argument,		0, 1083	},
> +		{ "deprecated",			no_argument,		0, 1084 },
.
>  		{ },
>  	};
>
> @@ -639,6 +651,10 @@ int main(int argc, char *argv[], char *envp[])
>  			pr_msg("Will skip in-flight TCP connections\n");
>  			opts.tcp_skip_in_flight = true;
>  			break;
> +		case 1094:

Looks like typo ;)     ^

-- 
              Dmitry


More information about the CRIU mailing list