[CRIU] [PATCH v2 0/3] compel: Save thread registers before executing

Alice Frosi alice at linux.vnet.ibm.com
Thu Aug 10 19:04:49 MSK 2017


This series of patches aims to get the registers before the parasite injection:
  - patch 1 solves a bug in the Makefile needed by patch 02
  - patch 2 adds a test case to verify that FP and VX registers are not
    modified by the parasite code (look at the git commit how we run the
    test case)
  - patch 3 adds the necessary modifications to correctly get the registers
    before the parasite code execution.

History
-------
v1 -> v2:
  - Add code to restore registers for --leave running and error path
  - Add test case for FP and VX registers

Alice Frosi (1):
  compel: Save thread registers before executing parasite code

Michael Holzheu (2):
  zdtm: Move include of Makefile.inc to right place
  s390/zdtm: Add s390x_reg_check test case

 Makefile                               |   8 +-
 compel/arch/s390/src/lib/infect.c      |  26 --
 criu/arch/s390/crtools.c               | 109 ++++++++
 criu/arch/s390/include/asm/restore.h   |   2 -
 criu/cr-dump.c                         |  10 +
 criu/parasite-syscall.c                |  11 +-
 test/zdtm/static/Makefile              |  10 +-
 test/zdtm/static/s390x_regs_check.c    | 494 +++++++++++++++++++++++++++++++++
 test/zdtm/static/s390x_regs_check.desc |   1 +
 9 files changed, 629 insertions(+), 42 deletions(-)
 create mode 100644 test/zdtm/static/s390x_regs_check.c
 create mode 100644 test/zdtm/static/s390x_regs_check.desc

-- 
2.9.3



More information about the CRIU mailing list