Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Chen Yisong
lxc
Commits
9451eeff
Commit
9451eeff
authored
Mar 10, 2016
by
Tycho Andersen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
criu: make exec_criu static
This is no longer needed outside of criu.c with the ->migrate API call, so let's mark it that way. Signed-off-by:
Tycho Andersen
<
tycho.andersen@canonical.com
>
parent
ef372057
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
criu.c
src/lxc/criu.c
+1
-1
criu.h
src/lxc/criu.h
+0
-2
No files found.
src/lxc/criu.c
View file @
9451eeff
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
lxc_log_define
(
lxc_criu
,
lxc
);
lxc_log_define
(
lxc_criu
,
lxc
);
void
exec_criu
(
struct
lxc_handler
*
handler
,
struct
criu_opts
*
opts
)
static
void
exec_criu
(
struct
criu_opts
*
opts
)
{
{
char
**
argv
,
log
[
PATH_MAX
];
char
**
argv
,
log
[
PATH_MAX
];
int
static_args
=
22
,
argc
=
0
,
i
,
ret
;
int
static_args
=
22
,
argc
=
0
,
i
,
ret
;
...
...
src/lxc/criu.h
View file @
9451eeff
...
@@ -58,8 +58,6 @@ struct criu_opts {
...
@@ -58,8 +58,6 @@ struct criu_opts {
const
char
*
cgroup_path
;
const
char
*
cgroup_path
;
};
};
void
exec_criu
(
struct
lxc_handler
*
handler
,
struct
criu_opts
*
opts
);
/* Check and make sure the container has a configuration that we know CRIU can
/* Check and make sure the container has a configuration that we know CRIU can
* dump. */
* dump. */
bool
criu_ok
(
struct
lxc_container
*
c
);
bool
criu_ok
(
struct
lxc_container
*
c
);
...
...
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