[CRIU] [PATCH] actions: report pid in the post-dump notification

Andrey Vagin avagin at openvz.org
Mon Mar 30 02:54:45 PDT 2015


libcontainer saves PID in a state file.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-service.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cr-service.c b/cr-service.c
index 45db04b..0256764 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -163,6 +163,7 @@ int send_criu_rpc_script(enum script_actions act, char *name, int fd)
 
 	switch (act) {
 	case ACT_SETUP_NS:
+	case ACT_POST_DUMP:
 		/*
 		 * FIXME pid is required only once on
 		 * restore. Need some more sane way of
-- 
2.1.0



More information about the CRIU mailing list