Commit 3172b0bd authored by Pavel Emelyanov's avatar Pavel Emelyanov

rpc: Add link-remap option

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1e648dd5
...@@ -234,6 +234,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req) ...@@ -234,6 +234,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
if (req->has_track_mem) if (req->has_track_mem)
opts.track_mem = req->track_mem; opts.track_mem = req->track_mem;
if (req->has_link_remap)
opts.link_remap_ok = req->link_remap;
if (req->ps) { if (req->ps) {
opts.use_page_server = true; opts.use_page_server = true;
opts.addr = req->ps->address; opts.addr = req->ps->address;
......
...@@ -26,6 +26,7 @@ message criu_opts { ...@@ -26,6 +26,7 @@ message criu_opts {
optional bool track_mem = 15; optional bool track_mem = 15;
optional int32 work_dir_fd = 16; optional int32 work_dir_fd = 16;
optional bool link_remap = 17;
} }
message criu_dump_resp { message criu_dump_resp {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment