[lxc-devel] [lxc/master] Also pass action scripts to CRIU on checkpointing

thyth on Github lxc-bot at linuxcontainers.org
Tue Apr 24 06:10:08 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 534 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180424/65155d90/attachment.bin>
-------------- next part --------------
From 497a78630cb6f4bb7f1863468d4225796a1bcc23 Mon Sep 17 00:00:00 2001
From: Daniel Selifonov <ds at thyth.com>
Date: Sat, 14 Apr 2018 23:26:00 -0700
Subject: [PATCH] Also pass action scripts to CRIU on checkpointing

Signed-off-by: Daniel Selifonov <ds at thyth.com>
---
 src/lxc/tools/lxc_checkpoint.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/tools/lxc_checkpoint.c b/src/lxc/tools/lxc_checkpoint.c
index 3d8050526..0d0746e55 100644
--- a/src/lxc/tools/lxc_checkpoint.c
+++ b/src/lxc/tools/lxc_checkpoint.c
@@ -169,6 +169,7 @@ static bool checkpoint(struct lxc_container *c)
 	opts.stop = stop;
 	opts.verbose = verbose;
 	opts.predump_dir = predump_dir;
+	opts.action_script = actionscript_path;
 
 	if (pre_dump)
 		mode = MIGRATE_PRE_DUMP;


More information about the lxc-devel mailing list