[CRIU] [PATCH 00/14] FPU c/r, v4
Cyrill Gorcunov
gorcunov at openvz.org
Wed Dec 19 11:31:20 EST 2012
Finally I managed to grab xsave-capable machine and test
FPU c/r on it. Please review, comments are welcome.
Cyrill Gorcunov (14):
fpu: Add fpu.h header
cpu: Add code to fetch/test cpuinfo data
cpu: Add testing if host cpu is suitable to FPU c/r
dump: Drop FPU padding allocation
dump: Move assign_reg/assign_array closer to place where they are used checkpoint: Add dumping of FPU state
restore: Change rt_sigcontext::fpstate to void *
restore: Reserve space in restorer for FPU frame
restore: Restore FPU state
zdtm: Add cpuid.h
zdtm: Enable fpu00 test-case
zdtm: Add fpu01 test
zdtm: Enable fpu01 test
zdtm: Don't wait too long for restore
Makefile | 1 +
cpu.c | 73 +++++++++++++++++++++
cr-dump.c | 97 ++++++++++++++++++++-------
cr-restore.c | 146 +++++++++++++++++++++++++++++++++++++++++
include/cpu.h | 23 +++++++
include/fpu.h | 84 ++++++++++++++++++++++++
include/proc_parse.h | 1 +
include/restorer.h | 9 ++-
pie/restorer.c | 18 +++++
proc_parse.c | 32 +++++++++
protobuf/core.proto | 12 ++++
test/zdtm.sh | 4 +-
test/zdtm/lib/cpuid.h | 39 +++++++++++
test/zdtm/live/static/Makefile | 1 +
test/zdtm/live/static/fpu01.c | 105 +++++++++++++++++++++++++++++
15 files changed, 619 insertions(+), 26 deletions(-)
create mode 100644 cpu.c
create mode 100644 include/cpu.h
create mode 100644 include/fpu.h
create mode 100644 test/zdtm/lib/cpuid.h
create mode 100644 test/zdtm/live/static/fpu01.c
--
1.8.0.1
More information about the CRIU
mailing list