[CRIU] [PATCHv7 0/5] cr_service

Pavel Emelyanov xemul at parallels.com
Fri Sep 13 05:57:12 EDT 2013


On 09/13/2013 01:43 PM, Ruslan Kuprieiev wrote:
> Hi!
> 
> cr_service() is the function to start daemon, that will create unix 
> domain socket and will listen for requests on it, process request and 
> send response back. The format of request and response is google 
> protobuf and they are described in protobuf/rpc.proto.
> 
> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
> .
> 


OK, after a quick lock this looks great. I'll read them more carefully
today and most likely commit.

Now please write two programs -- one on C, the other one on python -- that
issue a dump request for a service. These will not only test what we have,
but will also be examples of how RPC works.

Then put them both in a test/rpc/ directory with a shell script, that runs
a service, then runs the programs, then restore both and check that the
dump and restore were successful.

Thanks,
Pavel


More information about the CRIU mailing list