[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 17:51:05 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 e864f16..6bc3dba 100644
--- a/cr-service.c
+++ b/cr-service.c
@@ -517,11 +517,6 @@ static int start_page_server_req(int sk, CriuOpts *req)
 	CriuPageServerInfo ps = CRIU_PAGE_SERVER_INFO__INIT;
 	struct ps_info info;
 
-	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