[CRIU] service: one connection -- multiple requests

Pavel Emelyanov xemul at parallels.com
Fri Nov 29 07:57:24 PST 2013


On 11/23/2013 06:50 PM, Ruslan Kuprieiev wrote:
> I have noticed that if program does something like this:
>      -- ....
>      -- ask to dump itself
>      -- ask service to do something else
>      -- ....
> 
> and then we are trying to restore it -- it will fail, as the service 
> socket(that was created especially for this process) will be closed. 
> Without multirequesting everything will be fine, as for every request 
> the new one socket will be created.
> I think we shouldn't reject multirequesting, because of it's goals: it 
> is fast and a bit easy to work with. Maybe we should give user a choose 
> somehow?
> .
> 


BTW, muli-reqs per session also requires that e.g. cr_dump_tasks() frees
all the memory before return, which it not such.


More information about the CRIU mailing list