2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

rpc: Add the auto-dedup option

Signed-off-by: Tikhomirov Pavel <snorcht@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Tikhomirov Pavel 2014-02-21 18:42:00 +04:00 committed by Pavel Emelyanov
parent acf62d7b95
commit 8a3939a277
2 changed files with 7 additions and 3 deletions

View File

@ -259,6 +259,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
if (req->has_link_remap)
opts.link_remap_ok = req->link_remap;
if (req->has_auto_dedup)
opts.auto_dedup = req->auto_dedup;
if (req->ps) {
opts.use_page_server = true;
opts.addr = req->ps->address;

View File

@ -29,10 +29,11 @@ message criu_opts {
optional string root = 13;
optional string parent_img = 14;
optional bool track_mem = 15;
optional bool auto_dedup = 16;
optional int32 work_dir_fd = 16;
optional bool link_remap = 17;
repeated criu_veth_pair veths = 18;
optional int32 work_dir_fd = 17;
optional bool link_remap = 18;
repeated criu_veth_pair veths = 19;
}
message criu_dump_resp {