[CRIU] [PATCH 00/11] cpuinfo: Detect compact frames and handle noxsaves

Cyrill Gorcunov gorcunov at gmail.com
Thu Jun 14 20:27:19 MSK 2018


At moment we don't support yet compacted fpu frames but a user
can boot kernel with noxsaves option poiting kernel to not use
compact frames at all, thus until we implement xsaves support
one can pass --cpu-cap='op=noxsave' on checkpoint/restore
and process c/r as usual.

Cyrill Gorcunov (11):
  x86: Use uint_x types in rt_sigcontext
  crit: Show cpuinfo image
  x86: cpu -- Sync bits with kernel
  x86: cpu -- Add new instruction bits to check
  x86: cpu -- Show additional xsave info on init
  x86: cpu -- Check for xsaves bit on cpu validation
  x86: cpu -- Report when unsupported compact xsave frame detected
  compel: cpu -- Add ability to clear features
  x86: cpu -- Add ability to ignore xsaves
  x86: cpu -- Use rt information since it might we filtered
  x86: cpu -- Show which exactly features are failing in fpu capability mode

 compel/arch/aarch64/src/lib/cpu.c                  |  18 ++
 compel/arch/arm/src/lib/cpu.c                      |  18 ++
 compel/arch/ppc64/src/lib/cpu.c                    |  18 ++
 compel/arch/s390/src/lib/cpu.c                     |  18 ++
 compel/arch/x86/src/lib/cpu.c                      | 103 ++++--
 compel/arch/x86/src/lib/include/cpu.h              |   8 +
 compel/arch/x86/src/lib/include/uapi/asm/cpu.h     | 298 +++++++++++++----
 .../arch/x86/src/lib/include/uapi/asm/sigframe.h   |  56 ++--
 compel/arch/x86/src/lib/infect.c                   |   2 +-
 compel/include/uapi/cpu.h                          |   2 +
 criu/arch/aarch64/cpu.c                            |   5 +
 criu/arch/arm/cpu.c                                |   5 +
 criu/arch/ppc64/cpu.c                              |   5 +
 criu/arch/s390/cpu.c                               |   5 +
 criu/arch/x86/cpu.c                                | 354 ++++++++++++++-------
 criu/arch/x86/sigframe.c                           |   2 +-
 criu/crtools.c                                     |   5 +
 criu/include/cpu.h                                 |   1 +
 lib/py/images/images.py                            |   1 +
 19 files changed, 706 insertions(+), 218 deletions(-)

-- 
2.14.4



More information about the CRIU mailing list