[CRIU] criu support for devices

Cyrill Gorcunov gorcunov at gmail.com
Tue Jan 13 05:20:06 PST 2015


On Tue, Jan 13, 2015 at 04:10:58PM +0300, Pavel Emelyanov wrote:
> 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 :)

Sure, this is just an entry point to start from.


More information about the CRIU mailing list