Commit 49048782 authored by Tikhomirov Pavel's avatar Tikhomirov Pavel Committed by Pavel Emelyanov

v3 deduplication: add auto-dedup option

Signed-off-by: 's avatarTikhomirov Pavel <snorcht@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 96b26f63
......@@ -129,6 +129,7 @@ int main(int argc, char *argv[])
{ "prev-images-dir", required_argument, 0, 53},
{ "ms", no_argument, 0, 54},
{ "track-mem", no_argument, 0, 55},
{ "auto-dedup", no_argument, 0, 56},
{ },
};
......@@ -268,6 +269,9 @@ int main(int argc, char *argv[])
case 55:
opts.track_mem = true;
break;
case 56:
opts.auto_dedup = true;
break;
case 54:
opts.check_ms_kernel = true;
break;
......
......@@ -34,6 +34,7 @@ struct cr_options {
char *addr;
bool track_mem;
char *img_parent;
bool auto_dedup;
};
extern struct cr_options opts;
......
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