[CRIU] [PATCH 0/7] p.haul: Make .dump be htype method

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


On 10/22/2015 08:26 PM, Nikita Spiridonov wrote:
> Acked-by: Nikita Spiridonov <nspiridonov at odin.com>
> 
> One question, as far as I can see only dump for vz module use
> adjust_criu_req method at the present moment. Do you think it is good
> idea to have such method in reserve or we can remove it entirely under
> the condition dump for vz module will be handled via vzctl (as restore)?

I'd switch _vz.py to implement final dumping via vzctl.

> On Thu, 2015-10-22 at 15:44 +0300, Pavel Emelyanov wrote:
>> As discussed previously, two actions -- dump and restore -- are impossible to
>> do without the good help from the actual driver (htype). This is already done
>> for .restore -- the restore method is done via htype, for openvz it calls
>> vzctl restore, for lxc it will likely call lxc checkpoint -r, for docker it
>> will call docker restore. Let's do the same for dump -- call htype to make it
>> put proper arguments and re-call criu.
>>
>> -- Pavel
> 
> 
> .
> 



More information about the CRIU mailing list