[CRIU] [PATCH 5/7] htype: Make final dump be htype method

Pavel Emelyanov xemul at parallels.com
Fri Oct 23 06:52:52 PDT 2015


On 10/22/2015 08:09 PM, Tycho Andersen wrote:
> On Thu, Oct 22, 2015 at 03:46:07PM +0300, Pavel Emelyanov wrote:
>> For Docker (and actually for everybody, but pid, else) it makes
>> perfect sense to make final dump request via htype's API, not
>> via CRIU directly.
> 
> This looks great, thanks. Is it possible that we'll want to pre-dump
> through the container API as well (even though most of them probably
> don't support it)?

I thought of it and couldn't find any reason why we should.

> I don't think so, but just wanted to check. What
> we will need is some way to tell the criu invoked by docker/lxc/vzctl
> where the pre-dump images are.

You mean at the final dump? Yes, the --prev-img-dir option should be
somehow supported.

-- Pavel



More information about the CRIU mailing list