[CRIU] how to lively migration a vm container?

Pavel Emelyanov xemul at parallels.com
Wed May 14 06:31:39 PDT 2014


On 05/14/2014 10:26 AM, Cyrill Gorcunov wrote:
> On Wed, May 14, 2014 at 05:24:42AM +0400, Pavel Emelyanov wrote:
>>
>> This is it. That's the way docker guys configure the networking inside their containers.
>> We have similar problem for LXC. It looks like it's time to think over a generic solution
>> for external bind mounts, all the more so we can resolve their source :\
> 
> It seems without resolving this problem we won't be able to go further. Need to think
> how to fix it...
> .
> 


Bing, there's a way to support external bind mounts with criu plugins. You can
look at the criu/test/mounts/ext/ sources for an idea of how this can be done.
The test in question does exactly what we see -- it puts a mountpoint with an
external source directory into the dumpee mount namespace and then puts a plugin
to criu helping it to handle this.

If you need any help in adopting the example to your needs -- let us know on the
mailing list.

Thanks,
Pavel


More information about the CRIU mailing list