[CRIU] [PATCH 00/12] cpuinfo, v4

Cyrill Gorcunov gorcunov at openvz.org
Tue Sep 30 10:18:43 PDT 2014


Here is an updated version, please take a look. Changes
from previous one

 - --cpu-cap now takes "cpu" option instead of ugly "cpuinfo"
 - Rework cpuinfo features fetching is splitted into
	Drop redundant cpu_has helper
	Add feature bits definition
	Add cpuid helpers
	Drop cpu_set_feature from exporting
 - protobuf patches are merged into one
 - cpu_validate_image_cpuinfo_single and such renamed to
   cpuinfo_dump/restore, I hope I understood your comment
   right about -1 errcode returning?
 - rpc should support keep_open, but I think rpc part is
   ugly as a whole by now, we need some more convenient way
   to notify that message should be freed, i think we should
   fix it on top

Cyrill Gorcunov (12):
  opt: cpu-cap  -- Make it as optional_argument
  opt: cpu-cap -- Introduce "none" and "cpuinfo" arguments
  cpuinfo: Update documentation for --cpu-cap
  cpuinfo: x86 -- Drop redundant cpu_has helper
  cpuinfo: x86 -- Add feature bits definitions
  cpuinfo: x86 -- Add cpuid helpers
  cpuinfo: Drop cpu_set_feature from exporting
  cpuinfo: x86 -- Rework cpuinfo features fetching
  cpuinfo: x86 -- Add protobuf entry
  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     |  34 ++++-
 arch/aarch64/cpu.c         |  25 +++-
 arch/arm/cpu.c             |  25 +++-
 arch/x86/cpu.c             | 352 +++++++++++++++++++++++++++++++++++++++++----
 arch/x86/include/asm/cpu.h | 192 ++++++++++++++++++++++++-
 cr-dump.c                  |   5 +
 cr-restore.c               |   3 +
 cr-service.c               |  59 ++++++++
 cr-show.c                  |   1 +
 crtools.c                  |  19 ++-
 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, 712 insertions(+), 51 deletions(-)
 create mode 100644 protobuf/cpuinfo.proto

-- 
1.9.3



More information about the CRIU mailing list