[CRIU] Another attempt at migration processes

Pavel Emelyanov xemul at parallels.com
Tue Aug 14 11:02:55 EDT 2012


On 08/14/2012 06:55 PM, Adrian Reber wrote:
> On Tue, Jul 03, 2012 at 12:12:00PM +0400, Pavel Emelyanov wrote:
>>> The patch is still very rough and meant as an RFC to see if this is
>>> something criu is interested in and if the implementation in way like I
>>> did could be accepted by upstream?
>>
>> Yes, we're interested in this type of migration, but the implementation
>> I see should be improved.
>>
>> Two things should be fixes in the first step: 1. don't use printf-s, use
>> crtools logging engine 2. don't push the host/port/socket arguments all
>> over the code, try to reuse the open_image/cr_fdset_open engine to work 
>> with sockets.
> 
> See attached patch which tries to do much better than the previous
> version. Using the functions in image.c to automatically know that the
> data should be read over the network makes the patch much smaller.
> 
> This is still only the implementation for the restore part.
> 
> 		Adrian

Adrian, please, resend the patches in a way, that is used in the Linux
kernel development: http://kernelnewbies.org/UpstreamMerge/SubmittingPatches

Shortly -- one patch per mail with "[PATCH n/N]: description" subject, and
signed-off-by lines.

Otherwise it would be hard to work with them.

Thanks,
Pavel


More information about the CRIU mailing list