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
95f957b8
Commit
95f957b8
authored
Mar 25, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
image: New image file for regfiles
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
0fb534a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
crtools.c
crtools.c
+5
-0
crtools.h
include/crtools.h
+2
-0
image.h
include/image.h
+1
-0
No files found.
crtools.c
View file @
95f957b8
...
...
@@ -51,6 +51,11 @@ struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX] = {
.
magic
=
PAGES_MAGIC
,
},
[
CR_FD_REG_FILES
]
=
{
.
fmt
=
FMT_FNAME_REG_FILES
,
.
magic
=
REG_FILES_MAGIC
,
},
/* core data, such as regs and vmas and such */
[
CR_FD_CORE
]
=
{
.
fmt
=
FMT_FNAME_CORE
,
...
...
include/crtools.h
View file @
95f957b8
...
...
@@ -46,6 +46,7 @@ enum {
CR_FD_PID_MAX
,
/* fmt, pid */
CR_FD_SHMEM_PAGES
,
CR_FD_REG_FILES
,
CR_FD_MAX
};
...
...
@@ -78,6 +79,7 @@ extern struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX];
#define FMT_FNAME_FDINFO "fdinfo-%d.img"
#define FMT_FNAME_PAGES "pages-%d.img"
#define FMT_FNAME_SHMEM_PAGES "pages-shmem-%ld.img"
#define FMT_FNAME_REG_FILES "reg-files.img"
#define FMT_FNAME_CORE "core-%d.img"
#define FMT_FNAME_VMAS "vmas-%d.img"
#define FMT_FNAME_PIPES "pipes-%d.img"
...
...
include/image.h
View file @
95f957b8
...
...
@@ -26,6 +26,7 @@
#define IPCNS_SHM_MAGIC 0x46283044
/* Odessa */
#define IPCNS_MSG_MAGIC 0x55453737
/* Moscow */
#define IPCNS_SEM_MAGIC 0x59573019
/* St. Petersburg */
#define REG_FILES_MAGIC 0x50363636
/* Belgorod */
#define PIPEFS_MAGIC 0x50495045
...
...
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