2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 21:38:16 +00:00

service: page-server: allow requesting page-server without setting any ps_info

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@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Ruslan Kuprieiev 2014-09-18 03:51:05 +03:00 committed by Pavel Emelyanov
parent 6b631faa4b
commit a483cbda5c

View File

@ -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;