[CRIU] [PATCH 3/3] zdtm: add --track-mem to final snapshot

Pavel Emelyanov xemul at parallels.com
Mon Apr 14 04:18:07 PDT 2014


On 04/09/2014 01:34 PM, Tikhomirov Pavel wrote:
> otherwize it won't use/check parent snapshots, only last one
> on restore.

Can you shed more light on this?

> Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>
> ---
>  test/zdtm.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/test/zdtm.sh b/test/zdtm.sh
> index d7f8fca..6997afc 100755
> --- a/test/zdtm.sh
> +++ b/test/zdtm.sh
> @@ -487,9 +487,9 @@ EOF
>  		fi
>  
>  		if [ -n "$SNAPSHOT" ]; then
> -			snapopt=""
> +			snapopt="--track-mem"
>  			if [ "$i" -ne "$ITERATIONS" ]; then
> -				snapopt="$snapopt -R --track-mem"
> +				snapopt="$snapopt -R"
>  				dump_only=1
>  				[ -n "$PRE_DUMP" ] && dump_cmd="pre-dump"
>  			fi
> 




More information about the CRIU mailing list