[CRIU] [PATCH 29/32] tools: cpt2 -- Add writing of per-task images
Pavel Emelyanov
xemul at parallels.com
Mon Apr 1 06:31:11 EDT 2013
> +
> + ret = write_task_netdev(ctx, t);
> + if (ret) {
> + pr_err("Failed writing netdev for task %d\n",
> + t->ti.cpt_pid);
> + goto out;
> + }
> +
> + ret = write_task_ifaddr(ctx, t);
> + if (ret) {
> + pr_err("Failed writing ifaddr for task %d\n",
> + t->ti.cpt_pid);
> + goto out;
> + }
> +
> + ret = write_task_route(ctx, t);
> + if (ret) {
> + pr_err("Failed writing route for task %d\n",
> + t->ti.cpt_pid);
> + goto out;
> + }
When have netdevs, ifaddrs and routes become per-task information?
> +
> +out:
> + return ret;
> +}
More information about the CRIU
mailing list