diff options
author | Andrei Vagin <avagin@virtuozzo.com> | 2017-05-18 03:14:33 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-11-23 20:23:23 +0300 |
commit | ebd64bddfeef04d0e80d0e6925b8b92adf5998f0 (patch) | |
tree | 73d655e6ed2d4e902b9088c7751ac8eac2fefc19 /images/rpc.proto | |
parent | 0b6f9c7975db606ddacbfac9b0ae8192e5b0c33c (diff) |
service: allow to execute page-server as a child process
In this case we can wait it and get an exit code.
For example, it will be useful for p.haul where one connection
is used several times, so we need a way how to understand that
page-server exited unexpectedly.
v2: don't write ps_info if a start descriptor isn't set
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'images/rpc.proto')
-rw-r--r-- | images/rpc.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/images/rpc.proto b/images/rpc.proto index 48e42e26e..71f47d594 100644 --- a/images/rpc.proto +++ b/images/rpc.proto @@ -142,6 +142,9 @@ enum criu_req_type { FEATURE_CHECK = 9; VERSION = 10; + + WAIT_PID = 11; + PAGE_SERVER_CHLD = 12; } /* @@ -176,6 +179,9 @@ message criu_req { * via RPC. */ optional criu_features features = 5; + + /* 'pid' is used for WAIT_PID */ + optional uint32 pid = 6; } /* @@ -196,6 +202,8 @@ message criu_resp { optional criu_features features = 8; optional string cr_errmsg = 9; optional criu_version version = 10; + + optional int32 status = 11; } /* Answer for criu_req_type.VERSION requests */ |