[CRIU] [PATCH 00/13] FPU c/r, v3
Cyrill Gorcunov
gorcunov at openvz.org
Fri Dec 14 09:19:22 EST 2012
Hi guys, here is reworked version of FPU c/r. Please share
your opinions. I msut admit I still has not managed to test
xsave/xrstor functionallity (my testing machine is down) but
for plain XMM register everything works well (thus I enabled
fpu00 test and add fpu01 test). Please give all this a shot.
Cyrill Gorcunov (13):
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
Makefile | 1 +
cpu.c | 73 ++++++++++++++++++++++++
cr-dump.c | 116 +++++++++++++++++++++++++++++---------
cr-restore.c | 124 +++++++++++++++++++++++++++++++++++++++++
include/cpu.h | 23 ++++++++
include/fpu.h | 80 ++++++++++++++++++++++++++
include/proc_parse.h | 1 +
include/restorer.h | 9 ++-
pie/restorer.c | 7 +++
proc_parse.c | 32 +++++++++++
protobuf/core.proto | 22 ++++++++
test/zdtm.sh | 2 +
test/zdtm/lib/cpuid.h | 39 +++++++++++++
test/zdtm/live/static/Makefile | 1 +
test/zdtm/live/static/fpu01.c | 105 ++++++++++++++++++++++++++++++++++
15 files changed, 609 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