• Pavel Emelyanov's avatar
    criu: Fault injection core · 68baf8e7
    Pavel Emelyanov authored
    This patch(set) is inspired by similar from Andrey Vagin sent
    sime time earlier.
    
    The major idea is to artificially fail criu dump or restore at
    specific places and let zdtm tests check whether failed dump
    or restore resulted in anything bad.
    
    This particular patch introduces the ability to tell criu "fail
    at X point". Each point is specified with a integer constant
    and with the next patches there will appear places over the
    code checking for specific fail code being set and failing.
    
    Two points are introduced -- early on dump, right after loading
    the parasite and right after creation of the root task.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    68baf8e7
fault-injection.h 326 Bytes