Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
3172b0bd
Commit
3172b0bd
authored
Feb 07, 2014
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpc: Add link-remap option
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
1e648dd5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
cr-service.c
cr-service.c
+3
-0
rpc.proto
protobuf/rpc.proto
+1
-0
No files found.
cr-service.c
View file @
3172b0bd
...
...
@@ -234,6 +234,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
if
(
req
->
has_track_mem
)
opts
.
track_mem
=
req
->
track_mem
;
if
(
req
->
has_link_remap
)
opts
.
link_remap_ok
=
req
->
link_remap
;
if
(
req
->
ps
)
{
opts
.
use_page_server
=
true
;
opts
.
addr
=
req
->
ps
->
address
;
...
...
protobuf/rpc.proto
View file @
3172b0bd
...
...
@@ -26,6 +26,7 @@ message criu_opts {
optional
bool
track_mem
=
15
;
optional
int32
work_dir_fd
=
16
;
optional
bool
link_remap
=
17
;
}
message
criu_dump_resp
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment