[CRIU] [PATCH 3/3] service: Add ghost limit setting from request

Cyrill Gorcunov gorcunov at openvz.org
Mon Aug 10 07:20:51 PDT 2015


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 d892b18f294c..0a9900404858 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -442,6 +442,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
 	if (req->has_ext_masters)
 		opts.enable_external_masters = req->ext_masters;
 
+	if (req->has_ghost_limit)
+		opts.ghost_limit = req->ghost_limit;
+
 	return 0;
 
 err:
-- 
2.4.3



More information about the CRIU mailing list