[CRIU] [PATCH 2/2] protobuf: Convert page_entry to PB format

Cyrill Gorcunov gorcunov at openvz.org
Wed Jul 18 10:34:18 EDT 2012


Since it's immutable object we can use PB ABI
to checkpoint and restore these objects in
resident code.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-show.c              |   15 +++++++++------
 include/image.h        |    5 -----
 include/protobuf-abi.h |   33 +++++++++++++++++++++++++++++++++
 parasite.c             |   21 ++++++++++++---------
 protobuf/Makefile      |    1 +
 protobuf/page.proto    |    8 ++++++++
 restorer.c             |   28 +++++++++++++++++++++++++---
 7 files changed, 88 insertions(+), 23 deletions(-)
 create mode 100644 include/protobuf-abi.h
 create mode 100644 protobuf/page.proto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-protobuf-Convert-page_entry-to-PB-format.patch
Type: text/x-patch
Size: 5656 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120718/0b28d884/0002-protobuf-Convert-page_entry-to-PB-format-0001.bin


More information about the CRIU mailing list