[CRIU] [vzlin-dev] [PATCH 1/4] netdevconf: add net_device_ipv4_conf_entry to protobuf

Pavel Emelyanov xemul at parallels.com
Fri Sep 19 05:49:58 PDT 2014


On 09/10/2014 12:02 PM, Pavel Tikhomirov wrote:

> diff --git a/protobuf/netdev.proto b/protobuf/netdev.proto
> index 4fa23d3..fc92107 100644
> --- a/protobuf/netdev.proto
> +++ b/protobuf/netdev.proto
> @@ -24,3 +24,8 @@ message net_device_entry {
>  
>  	optional bytes address		= 7;
>  }
> +
> +message net_device_ipv4_conf_entry {
> +	required string dev_name = 1;
> +	repeated uint32 data = 2;
> +}
> 

This should not be separate image file. Instead, this
message should be included into net_device_entry. And
we need new per netns netns-%d.img file, that would
carry the default values (and a little bit more).


More information about the CRIU mailing list