domain_create() has some unnecessary complexity for constructing the idle
domain. Rearrange x86's needs, to simplify the common logic.
https://cirrus-ci.com/build/5234584097390592
https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1379531597
Andrew Cooper (4):
xen/domain: Introduce arch_init_idle_domain()
x86/domain: Implement arch_init_idle_domain()
xen/domain: Simpliy domain_create() now the idle domain is complete
earlier
arch/domain: Clean up the idle domain remnants in arch_domain_create()
xen/arch/arm/domain.c | 6 --
xen/arch/x86/domain.c | 34 +++-----
xen/arch/x86/include/asm/domain.h | 3 +
xen/common/domain.c | 130 +++++++++++++++---------------
xen/include/xen/sched.h | 5 ++
5 files changed, 82 insertions(+), 96 deletions(-)
base-commit: 57338346f29cea7b183403561bdc5f407163b846
--
2.39.2