[CRIU] [PATCH] Print out if a RPC configuration file is used

Adrian Reber adrian at lisas.de
Fri Nov 16 23:54:43 MSK 2018


From: Adrian Reber <areber at redhat.com>

Signed-off-by: Adrian Reber <areber at redhat.com>
---
 criu/cr-service.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/criu/cr-service.c b/criu/cr-service.c
index ed83fdf32..bcd1f5e41 100644
--- a/criu/cr-service.c
+++ b/criu/cr-service.c
@@ -371,6 +371,10 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
 		goto err;
 	}
 
+	if (req->config_file) {
+		pr_debug("Overwriting RPC settings with values from %s\n", req->config_file);
+	}
+
 	if (kerndat_init())
 		return 1;
 
-- 
2.19.1



More information about the CRIU mailing list