https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/968728976 https://cirrus-ci.com/build/6741556116324352
Posting both parts, as there has been minor rebasing in all of them. Andrew Cooper (10): xen/version: Calculate xen_capabilities_info once at boot xen/version: Introduce non-truncating deterministically-signed XENVER_* subops xen/version: Fold build_id handling into xenver_varbuf_op() xen/version: Misc style fixes tools/libxc: Move xc_version() out of xc_private.c into its own file tools: Introduce a non-truncating xc_xenver_extraversion() tools: Introduce a non-truncating xc_xenver_capabilities() tools: Introduce a non-truncating xc_xenver_changeset() tools: Introduce a non-truncating xc_xenver_cmdline() tools: Introduce a xc_xenver_buildid() wrapper tools/include/xenctrl.h | 10 ++ tools/libs/ctrl/Makefile.common | 1 + tools/libs/ctrl/xc_private.c | 66 --------- tools/libs/ctrl/xc_private.h | 7 - tools/libs/ctrl/xc_version.c | 206 ++++++++++++++++++++++++++++ tools/libs/light/libxl.c | 61 +------- tools/ocaml/libs/xc/xenctrl_stubs.c | 46 ++++--- xen/arch/arm/setup.c | 20 +-- xen/arch/x86/setup.c | 31 ++--- xen/common/kernel.c | 119 ++++++++++------ xen/common/version.c | 4 +- xen/include/public/version.h | 68 ++++++++- xen/include/xen/hypercall.h | 2 - xen/include/xen/version.h | 2 + xen/include/xlat.lst | 1 + xen/include/xsm/dummy.h | 3 + xen/xsm/flask/hooks.c | 4 + 17 files changed, 425 insertions(+), 226 deletions(-) create mode 100644 tools/libs/ctrl/xc_version.c -- 2.30.2