Commit 09c81014 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

service: Add setup of @cpu_cap from rpc request

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 073c0bca
...@@ -285,6 +285,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req) ...@@ -285,6 +285,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
return -1; return -1;
} }
if (req->has_cpu_cap)
opts.cpu_cap = req->cpu_cap;
return 0; return 0;
} }
......
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