[CRIU] [PATCH 3/4] unix: add ability to set callbacks for external sockets

Andrew Vagin avagin at parallels.com
Sun Dec 1 22:21:05 PST 2013


On Mon, Dec 02, 2013 at 10:15:04AM +0400, Cyrill Gorcunov wrote:
> On Mon, Dec 02, 2013 at 08:47:11AM +0400, Andrew Vagin wrote:
> > 
> > > 
> > > Data exchange with libraries
> > > ============================
> > > 
> > > I think we might pass protobuf objects to libraries because it's extendable
> > > so if one day you need to pass more insformation to library you simply update
> > > protobuf file.
> > 
> > Pavel has suggested to pass structure with size. It's extendable too.
> 
> Not that convenient as protobuf.

Could you enumirate benifits from protobuf?

* easy to understand which fields are here
* default values for optional fields
* anything else?


More information about the CRIU mailing list