On 08.01.2025 12:13, Oleksii Kurochko wrote: > Unify the API for creating DomUs and checking for Dom0less mode across > architectures, including Arm and RISC-V, with potential applicability > for PPC.
That is you mean to re-use it for RISC-V? > --- a/xen/common/Kconfig > +++ b/xen/common/Kconfig > @@ -12,6 +12,15 @@ config CORE_PARKING > bool > depends on NR_CPUS > 1 > > +config DOM0LESS_BOOT > + bool "Dom0less boot support" if EXPERT > + depends on ARM > + default ARM This then would better be converted to "depends on HAVE_DOM0LESS", which for now only Arm would select. With a dependency on XYZ the default also doesn't need to name XYZ again, i.e. can simply be "default y". Jan