[PATCH v4 0/4] xen/arm: Prevent Dom0 to be loaded when using dom0less

Luca Fancellu posted 4 patches 3 years ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20210414091404.14215-1-luca.fancellu@arm.com
docs/features/dom0less.pandoc            |  7 +--
xen/arch/arm/domain_build.c              | 43 ++++++++++++++-
xen/arch/arm/irq.c                       |  2 +-
xen/arch/arm/setup.c                     | 69 +++++++++++++-----------
xen/drivers/passthrough/arm/ipmmu-vmsa.c |  2 +-
xen/drivers/passthrough/arm/smmu-v3.c    |  2 +-
xen/drivers/passthrough/arm/smmu.c       |  2 +-
xen/include/asm-arm/domain.h             |  2 +-
xen/include/asm-arm/setup.h              |  2 +-
9 files changed, 91 insertions(+), 40 deletions(-)
[PATCH v4 0/4] xen/arm: Prevent Dom0 to be loaded when using dom0less
Posted by Luca Fancellu 3 years ago
This is the v2 of xen/arm: Prevent Dom0 to be loaded when using dom0less
previously pushed.

The aim of this serie is to prevent the creation and run of the domain 0 (Dom0)
when the system configuration to be used is dom0less, that is when the device
tree declares at least one domU and no Dom0.

Changes in v2 are:
 - Moving the dom0 creation in a proper function
 - Handle the case of having an hardware_domain NULL
 - Be sure that the domain id 0 is never allocated
 - Modify documentation about dom0less

Changes in v3: minor fixes explained in each patches

Chenges in v4: minor fixes explained in each patches

Luca Fancellu (4):
  xen/arm: Move dom0 creation in domain_build.c
  xen/arm: Handle cases when hardware_domain is NULL
  xen/arm: Clarify how the domid is decided in create_domUs()
  xen/arm: Prevent Dom0 to be loaded when using dom0less

 docs/features/dom0less.pandoc            |  7 +--
 xen/arch/arm/domain_build.c              | 43 ++++++++++++++-
 xen/arch/arm/irq.c                       |  2 +-
 xen/arch/arm/setup.c                     | 69 +++++++++++++-----------
 xen/drivers/passthrough/arm/ipmmu-vmsa.c |  2 +-
 xen/drivers/passthrough/arm/smmu-v3.c    |  2 +-
 xen/drivers/passthrough/arm/smmu.c       |  2 +-
 xen/include/asm-arm/domain.h             |  2 +-
 xen/include/asm-arm/setup.h              |  2 +-
 9 files changed, 91 insertions(+), 40 deletions(-)

-- 
2.17.1