The patch series adds new library calls for allocating domain IDs. Patch 1 introduces new domid_{init,alloc,free} calls. Patch 2 adjusts hardware domain ID treatment on Arm.
Link to v4: https://lore.kernel.org/xen-devel/20250422215322.521464-1-dmuk...@ford.com/ Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/1799395667 Denis Mukhin (2): xen/domain: unify domain ID allocation xen/domain: adjust domain ID allocation for Arm xen/arch/arm/dom0less-build.c | 17 ++++---- xen/arch/arm/domain_build.c | 17 +++++--- xen/arch/arm/setup.c | 2 + xen/arch/x86/setup.c | 13 +++++-- xen/common/domain.c | 73 +++++++++++++++++++++++++++++++++++ xen/common/domctl.c | 41 ++------------------ xen/include/xen/domain.h | 4 ++ 7 files changed, 112 insertions(+), 55 deletions(-) -- 2.34.1