[CRIU] [PATCH 2/4] tools: add criu2text

Ruslan Kuprieiev kupruser at gmail.com
Tue Sep 30 04:21:56 PDT 2014


On 30.09.2014 14:05, Pavel Emelyanov wrote:
>>>> Ok, so:
>>>> RAW:
>>>>
>>>> #0x12345
>>>> #0
>>>> MSG
>>>> #1
>>>> MSG
>>> How will text -> image define which message is which, btw?
>> Which is "nice" and which is "raw"?
> No, that #0'th MSG is pagemap_head and #1'st MSG is paemap_entry.
Just like i did it before. Using magic and if (magic == pagemap_magic) 
next_pb = pagemap_entry =).
I thought about just writing pb_entry_name everywhere to get rid of 
those "magic : pb_entry_to_read"
rules, but we need them anyway on img->text.


More information about the CRIU mailing list