[CRIU] Re: [PATCH 4/4] cr-restore: read pages to temporary file if migrating

Pavel Emelyanov xemul at parallels.com
Thu Aug 16 12:11:23 EDT 2012


On 08/16/2012 08:02 PM, Adrian Reber wrote:
> On Wed, Aug 15, 2012 at 02:54:12PM +0400, Pavel Emelyanov wrote:
>> On 08/15/2012 01:54 PM, Adrian Reber wrote:
>>> This is a hack until it is possible to read the pages-*.img directly
>>> from restorer.c over a network socket. This workaround opens
>>> a temporary file on /dev/shm which is then used by restorer.c to
>>> read pages-*.img.
>>
>> I don't see any code, that closes one and then removes. 
> 
> Yes that is missing. I will fix that.

What prevents you from reading pages with data right from the socket?


More information about the CRIU mailing list