[CRIU] Re: [PATCH 1/2] protobuf: Convert vma_entry to PB format

Pavel Emelyanov xemul at parallels.com
Wed Jul 18 23:19:43 EDT 2012


On 07/18/2012 06:34 PM, Cyrill Gorcunov wrote:
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  cr-dump.c          |    6 +++---
>  cr-restore.c       |   15 ++++++++++-----
>  cr-show.c          |    9 ++++++---
>  files.c            |    2 +-
>  include/crtools.h  |    4 +++-
>  include/files.h    |    3 ++-
>  include/image.h    |   11 -----------
>  include/parasite.h |    4 +++-
>  include/restorer.h |    6 ++++--
>  include/shmem.h    |    8 +++++---
>  include/util.h     |    3 +++
>  parasite.c         |    2 +-
>  protobuf/Makefile  |    1 +
>  protobuf/vma.proto |   18 ++++++++++++++++++
>  restorer.c         |    4 ++--
>  shmem.c            |   19 ++++++++++++++-----
>  16 files changed, 76 insertions(+), 39 deletions(-)
>  create mode 100644 protobuf/vma.proto
> 

> +/*
> + * A message where all members have fixed types gives us
> + * an ability to iterate over an array of such messages,
> + * since they all have same size.

? Where do we use this?

> + *
> + * Note, we use this message in parasite/restorer code
> + * so be carefull extending it.
> + */



More information about the CRIU mailing list