Commit 48d3b1fc authored by Pavel Emelyanov's avatar Pavel Emelyanov

service: On check req check for minimal kernel support

When RPC is being requested to check the kernel, it's
enough to check the minimal amount of kernel feature.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f3222f74
...@@ -233,6 +233,9 @@ static int check(int sk) ...@@ -233,6 +233,9 @@ static int check(int sk)
resp.type = CRIU_REQ_TYPE__CHECK; resp.type = CRIU_REQ_TYPE__CHECK;
/* Check only minimal kernel support */
opts.check_ms_kernel = true;
if (!cr_check()) if (!cr_check())
resp.success = true; resp.success = true;
......
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