[CRIU] [PATCH 2/2] img: Introduce v1.1 images

Pavel Emelyanov xemul at parallels.com
Tue Mar 31 06:01:51 PDT 2015


On 03/31/2015 03:43 PM, Cyrill Gorcunov wrote:
> On Tue, Mar 31, 2015 at 03:30:36PM +0300, Pavel Emelyanov wrote:
>> --- a/include/magic.h
>> +++ b/include/magic.h
>> @@ -6,6 +6,11 @@
>>   */
>>  
>>  #define CRTOOLS_IMAGES_V1	1
>> +/*
>> + * v1.1 has common magic in the head of each image file,
>> + * except for inventory, stats and irmap-cache
>> + */
>> +#define CRTOOLS_IMAGES_V1_1	2
> 
> #define CRTOOLS_IMAGES_V2 	2
> 
> would be more natural here.

It's not V2 :) V2 from my perspective is some bigger change like
from slightly-to-completely different objects in protobuf/ or
total merge of things into one big image file.

I would say that "11" would be more natural here, but then we'll
have conflict with CRTOOLS_IMAGES_V11 if we ever have such %)

-- Pavel



More information about the CRIU mailing list