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

Andrew Cooper posted 6 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200205165056.11734-1-andrew.cooper3@citrix.com
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(-)

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

Posted by Andrew Cooper 1 week ago
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(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel