[CRIU] [PATCH 3/4] service: page-server: allow requesting page-server without setting any ps_info
Ruslan Kuprieiev
kupruser at gmail.com
Wed Sep 17 00:25:19 PDT 2014
Since we now can return port to user in autobind case, it's ok to request
page-server without setting ps_info.
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
cr-service.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/cr-service.c b/cr-service.c
index 2af6e8f..1048099 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -511,11 +511,6 @@ static int start_page_server_req(int sk, CriuOpts *req)
CriuResp resp = CRIU_RESP__INIT;
CriuPageServerInfo ps = CRIU_PAGE_SERVER_INFO__INIT;
- if (!req->ps) {
- pr_err("No page server info in message\n");
- goto out;
- }
-
if (pipe(start_pipe)) {
pr_perror("No start pipe");
goto out;
--
1.9.3
More information about the CRIU
mailing list