Quoting Oren Laadan ([EMAIL PROTECTED]):
> +int do_checkpoint(struct cr_ctx *ctx)
> +{
> +     int ret;
> +
> +     /* FIX: need to test whether container is checkpointable */
> +
> +     ret = cr_write_hdr(ctx);
> +     if (!ret)
> +             ret = cr_write_task(ctx, current);
> +     if (!ret)
> +             ret = cr_write_tail(ctx);
> +
> +     /* on success, return (unique) checkpoint identifier */
> +     if (!ret)
> +             ret = ctx->crid;

Does this crid have a purpose?

> +
> +     return ret;
> +}
_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to