criu: Fault injection core
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:
Pavel Emelyanov <xemul@parallels.com>
Showing
fault-injection.c
0 → 100644
include/fault-injection.h
0 → 100644
Please
register
or
sign in
to comment