<div dir="ltr">Hi,<div>I would like to write a program to send CRIU dump request with page-server using RPC. However, the dump command returns in the local host and the remote page-server can not receive the dump images.</div><div><br></div><div>My setup are as follows.</div><div>[host A]: <span style="color:black;font-family:monospace,Courier;font-size:14px;line-height:1.3em;background-color:rgb(249,249,249)">criu page-server --images-dir /tmp/image --port 10010</span></div><div>[host B]: Run my program to send dump request to host A. The program constructed the criu req as follows</div><div><br></div><div><pre class="" style="font-family:monospace,monospace;color:rgb(0,0,0);border:0px none white;padding:0px;line-height:1.2em;font-size:14px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">criu_req_type = <span style="line-height:1.2em">DUMP</span></pre><pre class="" style="font-family:monospace,monospace;color:rgb(0,0,0);border:0px none white;padding:0px;line-height:1.2em;font-size:14px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><span style="line-height:1.2em"><br></span></pre><pre class="" style="border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">criu_page_server_info {</pre><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">    <span style="line-height:1.2em">address: IPaddress</span></pre><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><span style="line-height:1.2em">    port:    portNum</span></pre><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">}</pre><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><br></pre><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">In the criuopt, I set the values for <span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">ImagesDirFd, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">WorkDirFd, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">LogLevel, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">LogFile, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">Root, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">ManageCgroups, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">NotifyScripts, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">Pid, </span><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px">CriuPageServerInfo.</span></pre><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px"><br></span></pre><pre class="" style="border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16px">Is there anything member fields missing? Thanks.</span></font></pre><pre class="" style="border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16px"><br></span></font></pre><pre class="" style="border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="line-height:16px">- Hui</span></font></pre><pre class="" style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:14px;line-height:1.2em;border:0px none white;padding:0px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><span style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16px"><br></span></pre></pre></div></div>