• Pavel Emelyanov's avatar
    img: Introduce empty images · f7f76d6b
    Pavel Emelyanov authored
    When an image of a certian type is not found, CRIU sometimes
    fails, sometimes ignores this fact. I propose to ignore this
    fact always and treat absent images and those containing no
    objects inside (i.e. -- empty). If the latter code flow will
    _need_ objects, then criu will fail later.
    
    Why object will be explicitly required? For example, due to
    restoring code reading the image with pb_read_one, w/o the
    _eof suffix thus required the object to be in the image.
    
    Another example is objects dependencies. E.g. fdinfo objects
    require various files objects. So missing image files will
    result in non-resolved searches later.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    f7f76d6b
page-read.c 5.85 KB