[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] xen/arm, xen/common: Add Kconfig option to control Dom0 boot
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Oleksii Moisieiev <Oleksii_Moisieiev@xxxxxxxx>
- Date: Thu, 25 Sep 2025 08:14:13 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8iDhYqQ1ZAJ9/W11nuhGfG3cuPN7qiNQ43xN42sm1lw=; b=CgOopAVPBAiqJUGzYtIEZmkem4xnBR4JTmAgERXIF9wqFnGvTiELvJTYUluaMCTe7HATUmHH0ruSnZ1E6VPRvNVrNQQOKQJqwWqnCmDF+UGL7tFnf2zYR52umGvLQmKfCSysjUHEVeDIg/DqN2hB28nHXaM9Yp1EWZ01GRnwIe+E3QDt9//uW02Tku9Hq1hwNdHV9Zgvxkhmf7lTbgPALTfUvMv/WZsB2Zq2Sqy/imtaBwKuuMGAlteWrk8OA7N/7wVWefkiUIw0n/Yx3/p+yT0njpZncqdtZ4dw91n9plKF6fZuMEIWRhpUjV+5FhaMkjC/fxvpWe9FMrRwWToCkg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=M2pHc2Qdydswqmr08DwzAP9l880h15mu2v5q5W9j1+BnfhMHuq5ArAeXeq8BES5pOlTBFkqTIukBIwlVx4QdYjpA52fdbM8eat3pzidZIvRCT1W7E080x2bk93lbR/ylYVTWRlSNZSGo2A73yKG072Dce9TielfwhrZRPUK8Rxk27ceYAeI6rhUfcEpFcbRb40Jwt7v05IUwEM7TLa+YuJpJQ19gs/0lCTjzvLHe4dSY0Ubse+bdEZrrXbGQhTr82qQskR4C9DZBEfYGAmtnSEIhhctHyhSI+g1cIEpYp1uIKsH4/twUcYHuk559Eza0gqsfT+/qK+EbkHpY+JenRw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 25 Sep 2025 08:14:24 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHcLWxn561sYuCM3E640/FLnKWxSrSjchMAgAAbxQA=
- Thread-topic: [PATCH v3] xen/arm, xen/common: Add Kconfig option to control Dom0 boot
On 25/09/2025 09:34, Jan Beulich wrote:
> On 24.09.2025 18:00, Oleksii Moisieiev wrote:
>> --- a/xen/common/Kconfig
>> +++ b/xen/common/Kconfig
>> @@ -26,6 +26,14 @@ config DOM0LESS_BOOT
>> Xen boot without the need of a control domain (Dom0), which could be
>> present anyway.
>>
>> +config DOM0_BOOT
>> + bool "Dom0 boot support" if EXPERT
>> + default y
>> + depends on (ARM && HAS_DOM0 && HAS_DEVICE_TREE_DISCOVERY &&
>> DOMAIN_BUILD_HELPERS) || (X86 && HAS_DOM0)
> This line is too long, and really would have wanted to be broken up anyway.
> Clearly
> "depends on HAS_DOM0" can be separated out. I'm not quite sure about the extra
> Arm-specific dependencies: Are these two really Arm-only (as in: not also
> affecting
> e.g. RISC-V)? Furthermore, what if I turned this option off for x86? Doing so
> would,
> aiui, have no effect at all right now. An option without any effect imo better
> wouldn't be exposed.
My intention was to introduce same behavior for both x86 and arm.
Added this config parameter as was stated in the following reply for v1 [0]
For now, since hyperlaunch is not merged yet the only option for x86 is
Dom0 so it will
take no effect for x86 right now.
[0]https://lore.kernel.org/xen-devel/9814144b-5eb4-421a-93f3-2a15232a7dd3@xxxxxxxx/
> Jan
|