<div dir="ltr">sure, thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 9:31 AM, Pavel Emelyanov <span dir="ltr">&lt;<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 05/14/2014 10:26 AM, Cyrill Gorcunov wrote:<br>
&gt; On Wed, May 14, 2014 at 05:24:42AM +0400, Pavel Emelyanov wrote:<br>
&gt;&gt;<br>
&gt;&gt; This is it. That&#39;s the way docker guys configure the networking inside their containers.<br>
&gt;&gt; We have similar problem for LXC. It looks like it&#39;s time to think over a generic solution<br>
&gt;&gt; for external bind mounts, all the more so we can resolve their source :\<br>
&gt;<br>
&gt; It seems without resolving this problem we won&#39;t be able to go further. Need to think<br>
&gt; how to fix it...<br>
</div></div>&gt; .<br>
&gt;<br>
<br>
<br>
Bing, there&#39;s a way to support external bind mounts with criu plugins. You can<br>
look at the criu/test/mounts/ext/ sources for an idea of how this can be done.<br>
The test in question does exactly what we see -- it puts a mountpoint with an<br>
external source directory into the dumpee mount namespace and then puts a plugin<br>
to criu helping it to handle this.<br>
<br>
If you need any help in adopting the example to your needs -- let us know on the<br>
mailing list.<br>
<br>
Thanks,<br>
Pavel<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Thanks</div><div>Bing</div>
</div>