[CRIU] [PATCH 0/9] cpuinfo, v3

Cyrill Gorcunov gorcunov at openvz.org
Thu Sep 25 06:03:19 PDT 2014


Here is reworked series. The most important change -- don't
use procfs output but rely on cpuid() itself.

Please take a look, the rest of logic is unchanged.

Cyrill Gorcunov (9):
  opt: cpu-cap  -- Make it as optional_argument
  opt: cpu-cap -- Introduce "none" and "cpuinfo" arguments
  cpuinfo: Update documentation for --cpu-cap
  cpuinfo: x86 -- Rework cpuinfo features fetching
  cpuinfo: x86 -- Add protobuf entry
  cpuinfo: Prepare protobuf and magic
  cpuinfo: x86 -- Add dump and validation of cpuinfo image
  cpuinfo: Add "cpuinfo [dump|check]" commands
  cpuinfo: rpc -- Add CPUINFO_DUMP/CPUINFO_CHECK commands

 Documentation/criu.txt     |  27 +++-
 arch/aarch64/cpu.c         |  26 +++-
 arch/arm/cpu.c             |  26 +++-
 arch/x86/cpu.c             | 363 +++++++++++++++++++++++++++++++++++++++++----
 arch/x86/include/asm/cpu.h | 193 +++++++++++++++++++++++-
 cr-dump.c                  |   5 +
 cr-restore.c               |   3 +
 cr-service.c               |  23 +++
 cr-show.c                  |   1 +
 crtools.c                  |  29 +++-
 image-desc.c               |   1 +
 include/cpu.h              |   5 +-
 include/cr_options.h       |   5 +-
 include/image-desc.h       |   1 +
 include/magic.h            |   1 +
 include/protobuf-desc.h    |   5 +-
 protobuf-desc.c            |   1 +
 protobuf/Makefile          |   1 +
 protobuf/cpuinfo.proto     |  25 ++++
 protobuf/rpc.proto         |   3 +
 20 files changed, 694 insertions(+), 50 deletions(-)
 create mode 100644 protobuf/cpuinfo.proto

-- 
1.9.3



More information about the CRIU mailing list