[CRIU] [PATCH 6/8] tests: check callback-s for dumping and restoring sockets (v2)

Pavel Emelyanov xemul at parallels.com
Mon Dec 16 03:43:43 PST 2013


On 12/16/2013 03:26 PM, Andrey Vagin wrote:
> Here are client, server programs and two libraries for dumping client
> sockets and syslog socket.
> 
> The client can ask server to save a value and then request it later.
> We suppose that after dumping and restoring the client will get
> the same value.

Add 2nd socket of this "internal" type.

> So the dump callback requests the value and save it in a file.
> The restore callback creates a new socket and ask server to save the
> value from the file.
> 
> v2: open a syslog socket
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>


More information about the CRIU mailing list