Skip to content

tools: Rationalise legacy CPUID handling

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tools/libxl: Remove libxl_cpuid_{set, apply_policy}() from the APItools/libxl/libxl.h tools/libxl/libxl_cpuid.c tools/libxl/libxl_dom.c +2 more+34 -121 reply
2/6tools/ocaml: Drop cpuid helperstools/ocaml/libs/xc/xenctrl.ml tools/ocaml/libs/xc/xenctrl.mli tools/ocaml/libs/xc/xenctrl_stubs.c+0 -761 reply
3/6tools/python: Drop cpuid helperstools/python/xen/lowlevel/xc/xc.c+0 -982 replies
4/6tools/libxl: Combine legacy CPUID handling logictools/libxl/libxl_cpuid.c tools/libxl/libxl_dom.c tools/libxl/libxl_internal.h +1 more+13 -191 reply
5/6tools/libx[cl]: Don't use HVM_PARAM_PAE_ENABLED as a function parametertools/libxc/include/xenctrl.h tools/libxc/xc_cpuid_x86.c tools/libxl/libxl_cpuid.c+19 -125 replies
6/6xen/public: Obsolete HVM_PARAM_PAE_ENABLEDtools/libxc/xc_sr_restore_x86_hvm.c tools/libxc/xc_sr_save_x86_hvm.c tools/libxl/libxl_x86.c +3 more+16 -108 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMarek Marczykowski-GóreckiJan BeulichChristian LindigJulien GrallIan Jackson
1/6A-b
2/6A-b
3/6A-b A-b
4/6A-b
5/6A-b
6/6R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [Xen-devel] [PATCH 0/6] tools: Rationalise legacy CPUID handling

This series attempts to remove some of the more insane behaviours from early CPUID handling. This is a little RFC to get a feel, but I intend to extend the same kind of handling to ITSC (and get rid of nomigrate), and provide some slightly nested-virt behaviour until it can become a domaincreate parameter.

Patch 1 has already been posted twice before. Others are new. I'm leaning towards rebasing the libxl/migration work over this series, because it will clean up a few of the transformation patches.

Andrew Cooper (6):
tools/libxl: Remove libxl_cpuid_{set,apply_policy}() from the API tools/ocaml: Drop cpuid helpers
tools/python: Drop cpuid helpers
tools/libxl: Combine legacy CPUID handling logic tools/libx[cl]: Don't use HVM_PARAM_PAE_ENABLED as a function parameter xen/public: Obsolete HVM_PARAM_PAE_ENABLED

 tools/libxc/include/xenctrl.h       |  2 +-
 tools/libxc/xc_cpuid_x86.c          | 15 ++----
 tools/libxc/xc_sr_restore_x86_hvm.c | 10 ++++
 tools/libxc/xc_sr_save_x86_hvm.c    |  1 -
 tools/libxl/libxl.h                 | 26 ++++++++--
 tools/libxl/libxl_cpuid.c           | 27 +++++++---
 tools/libxl/libxl_dom.c             |  4 +-
 tools/libxl/libxl_internal.h        |  3 ++
 tools/libxl/libxl_nocpuid.c         |  8 +--
 tools/libxl/libxl_x86.c             |  8 +--
 tools/ocaml/libs/xc/xenctrl.ml      |  7 ---
 tools/ocaml/libs/xc/xenctrl.mli     |  7 ---
 tools/ocaml/libs/xc/xenctrl_stubs.c | 62 -----------------------
 tools/python/xen/lowlevel/xc/xc.c   | 98 -------------------------------------
 xen/arch/arm/hvm.c                  |  3 +-
 xen/arch/x86/hvm/hvm.c              |  2 +
 xen/include/public/hvm/params.h     |  2 +-
 17 files changed, 70 insertions(+), 215 deletions(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel