[CRIU] [PATCH] p.haul: Repairing WebGUI
Arthur Lockman
alockman at redhat.com
Fri Jun 3 06:38:40 PDT 2016
From: Arthur Lockman <hello at rthr.me>
Previously the WebGUI had a redundant --fdmem parameter,
causing process migration to fail. This is now removed.
Signed-off-by: Arthur Lockman <alockman at redhat.com>
---
webgui/p_haul_web_gui.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/webgui/p_haul_web_gui.py b/webgui/p_haul_web_gui.py
index 22aabec..e06da34 100644
--- a/webgui/p_haul_web_gui.py
+++ b/webgui/p_haul_web_gui.py
@@ -77,7 +77,7 @@ def migrate():
dest_host = partner, rpc_port
- connection_sks = [None, None, None]
+ connection_sks = [None, None]
for i in range(len(connection_sks)):
connection_sks[i] = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
@@ -87,8 +87,7 @@ def migrate():
target_args = ['./p.haul', 'pid', pid, '-v', '4', '-j']
target_args.extend(["--to", partner,
"--fdrpc", str(connection_sks[0].fileno()),
- "--fdmem", str(connection_sks[1].fileno()),
- "--fdfs", str(connection_sks[2].fileno())])
+ "--fdmem", str(connection_sks[1].fileno())])
# Call p.haul
print "Exec p.haul: {0}".format(" ".join(target_args))
--
2.5.5
More information about the CRIU
mailing list