[CRIU] Re: [PATCH 3/5] protobuf: Add protobuf engine

Cyrill Gorcunov gorcunov at openvz.org
Thu Jul 5 02:07:53 EDT 2012


On Thu, Jul 05, 2012 at 09:52:42AM +0400, Stanislav Kinsbursky wrote:
> >+
> >+typedef struct {
> >+	u8	___tag_pad1;
> >+	u64	magic;
> >+	u8	___tag_pad2;
> >+	u64	version;
> >+	u8	___tag_pad3;
> >+	u64	flags;
> >+} __packed img_hrd_t;
> >+
> 
> Could you, please, explain, what for are these ____tag_pad's are required?

These are part of PB ABI. With this structures I can write/read
object headers and image header directly without calling for
PB library.

	Cyrill


More information about the CRIU mailing list