Skip to content
Commit f5ea330c authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

img: Introduce v1.1 images (v2)



These images have common magic in front of per-image one. With
this we have 3 "types" of images -- inventory (head), other
images, service files. The latter would be stats (not an image,
just happen to be in PB format) and irmap cache (not an image
again, just auxiliary thing which is in PB for convenience).

Since inventory file is the first one we read on restore it's
OK to set the global "new images" flag there. Dump (write) is
always in new format.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: default avatarRuslan Kuprieiev <rkuprieiev@cloudlinux.com>
Acked-by: default avatarAndrew Vagin <avagin@odin.com>
Acked-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 70ccb443
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment