[CRIU] criu support for devices

Pavel Emelyanov xemul at parallels.com
Tue Jan 13 05:10:58 PST 2015


On 01/12/2015 10:17 PM, Cyrill Gorcunov wrote:
> On Tue, Jan 13, 2015 at 12:20:14AM +0530, kita roberts wrote:
>>    Hello,
>>    I want to add checkpoint support for my character device in CRIU.

Cool :) What kind of device is it? If it's generic device, we will
gladly accept the patches. Otherwise, we're ready to extend the
plugins [1] functionality to make it work for your case.

[1] http://criu.org/Plugins

>>    Which part of CRIU source code should i refer/change?
>>    Currently CRIU says unknown mapping when it encounters my character device
>>    while checkpointing.
>>    Thanks.
> 
> It starts in files.c (dump_one_file->dump_chrdev).

Yes, and since the error message says about mapping, Kita would
also have to work on proc_parse.c, struct vma_area and related :)

Thanks,
Pavel



More information about the CRIU mailing list