[CRIU] [PATCH 1/2] files: add ability to set callbacks for files (v7)

Pavel Emelyanov xemul at parallels.com
Fri Dec 20 04:08:02 PST 2013


On 12/20/2013 04:05 PM, Andrey Vagin wrote:
> Here is nothing interecting. If a file can't be dumped by criu,
> plugins are called. If one of plugins knows how to dump the file,
> the file entry is marked as need_callback. On restore if we see
> this mark, we execute plugins for restoring the file.
> 
> v2: Callbacks are called for all files, which are not supported by CRIU.
> v3: Call plugins for a file instead of file descriptor. A few file
> descriptors can be associated with one file.
> v4: A file descriptor is opened in a callback. It's required for
>     restoring anon vmas.
> v5: Add a separate type for unsupported files
> v6: define FD_TYPES__UNSUPP
> v7: s/unsupp/ext (external)
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Both applied, thanks.


More information about the CRIU mailing list