[CRIU] [PATCH 2/2] service: Add setup of @cpu_cap from rpc request

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 28 06:02:18 PST 2014


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-service.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cr-service.c b/cr-service.c
index 38eb5d97737e..820d65e3eaea 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -285,6 +285,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
 			return -1;
 	}
 
+	if (req->has_cpu_cap)
+		opts.cpu_cap = req->cpu_cap;
+
 	return 0;
 }
 
-- 
1.8.3.1



More information about the CRIU mailing list