[CRIU] [PATCH 2/2] net: Restore venet link

Pavel Emelyanov xemul at parallels.com
Tue Sep 17 14:32:27 EDT 2013


On 09/17/2013 07:47 PM, Cyrill Gorcunov wrote:
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  net.c | 1 +
>  1 file changed, 1 insertion(+)
> 


> @@ -324,6 +324,7 @@ static int restore_link(NetDeviceEntry *nde, int nlsk)
>  
>  	switch (nde->type) {
>  	case ND_TYPE__LOOPBACK:
> +	case ND_TYPE__VENET:
>  		return restore_one_link(nde, nlsk, NULL);

venet devices appear automatically (by default) in openvz cts.

>  	case ND_TYPE__VETH:
>  		return restore_one_link(nde, nlsk, veth_link_info);


More information about the CRIU mailing list