[CRIU] [PATCH] actions: report pid in the post-restore notification
Andrew Vagin
avagin at openvz.org
Mon Mar 30 04:03:04 PDT 2015
From: Andrey Vagin <avagin at openvz.org>
libcontainer saves PID in a state file.
Signed-off-by: Andrew 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..0f0e2e2 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_RESTORE:
/*
* FIXME pid is required only once on
* restore. Need some more sane way of
--
2.1.0
More information about the CRIU
mailing list