diff options
author | Adrian Reber <areber@redhat.com> | 2017-01-13 13:41:00 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-09-16 11:47:02 +0300 |
commit | 6f82f87a44dcf7eb1c7cc4d27d7444a4cd58abed (patch) | |
tree | 77b28c3063505a0b0e2b1a0189cb5c6ac69106cc /images/rpc.proto | |
parent | 39f1388b4f416a703787c1a604b73f589fb3a44b (diff) |
lazy-pages: enable lazy-pages via RPC
To use lazy-pages from runc '--lazy-pages' functionality needs to be
accessible via RPC. This enables lazy-pages via RPC.
The information on which port to listen is taken from the
criu_page_server_info protobuf structure. If the user has enabled
lazy-pages via RPC only criu_page_server_info.port is evaluated
to get the listen port.
With additional patches in runc is it possible to use lazy-restore
with 'runc checkpoint' and 'runc restore'.
travis-ci: success for lazy-pages: enable lazy-pages via RPC
Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Diffstat (limited to 'images/rpc.proto')
-rw-r--r-- | images/rpc.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/images/rpc.proto b/images/rpc.proto index cdd186b13..48e42e26e 100644 --- a/images/rpc.proto +++ b/images/rpc.proto @@ -108,6 +108,7 @@ message criu_opts { optional uint32 timeout = 45; optional bool tcp_skip_in_flight = 46; optional bool weak_sysctls = 47; + optional bool lazy_pages = 48; optional int32 status_fd = 49; optional bool orphan_pts_master = 50; } |