[CRIU] [PATCH 1/3]v3 libcriu: criu_dump_me() and library header

Ruslan Kuprieiev kupruser at gmail.com
Fri Aug 30 05:20:32 EDT 2013


On 08/30/2013 11:37 AM, Andrew Vagin wrote:
> On Thu, Aug 29, 2013 at 11:08:23PM +0400, Ruslan Kuprieiev wrote:
>> Hi!
>>
>> Patch 1\3 contains criu_dump_me() for library and library header.
>>         -- criu_dump_me() gets an argument of  type struct criu_dump_args
>> from user program,
>>           processes it and sends request to criu through unix domain
>> socket.
>>           Then, it gets flag from criu and returns it back to program.
>>         -- libcriu.h contains definitions of flags, struct
>> criu_dump_args etc.
>>            So, it is to be used in user program.
> Do we want to invent own RPC?
>
> http://en.wikipedia.org/wiki/Remote_procedure_call
>
> Can we use something well-known, which has bindings for all popular
> languages?
As for me, it is some primitive and limited kind of RPC.
But, looks like we do not need a major of functionality that existing 
RPCs got.
Bindings, indeed, are a big plus. But do we really need them?
I mean, for example, can't we call c function from java?



More information about the CRIU mailing list