[CRIU] [PATCH 02/10] eventfd: Add checkpoint/restore support v2

Cyrill Gorcunov gorcunov at openvz.org
Fri May 4 05:38:21 EDT 2012


v2:
 - Pass initial counter value to eventfd call
   (can't pass flags here since they are obtained
    with fcntl and must be restored same way or
    restore will fail)
 - Use rst_file_params for flags and owner restore
 - Use eventfd.[ch] instead of eventfs.[ch]
 - Move show funcs to eventfd.c

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile          |    1 +
 cr-dump.c         |   22 +++++++
 cr-restore.c      |    4 +
 cr-show.c         |    1 +
 crtools.c         |    8 +++
 eventfd.c         |  177 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/crtools.h |    3 +
 include/eventfd.h |   17 +++++
 include/image.h   |    9 +++
 9 files changed, 242 insertions(+), 0 deletions(-)
 create mode 100644 eventfd.c
 create mode 100644 include/eventfd.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-eventfd-Add-checkpoint-restore-support-v2.patch
Type: text/x-patch
Size: 9312 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120504/14d115d5/0002-eventfd-Add-checkpoint-restore-support-v2-0001.bin


More information about the CRIU mailing list