[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen/arm, xen/common: Add Kconfig option to control Dom0 boot
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Oleksii Moisieiev <Oleksii_Moisieiev@xxxxxxxx>
- Date: Wed, 23 Jul 2025 15:48:16 +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=xYZxGavtRa2p0+t5ZJe/kMkJt1tnfKA1V5eGMLHK20A=; b=heYDb5IMI/LAteT+EMIS5EGzid3xd5rgnx2za6kC4/Tye+wYXnIOgJPS1rdmMYG9fx3xloZvNTOhmhgD4+Ha2SQCPJlPUmMYT2ZqrKEDIev4rhUyVJXaAqxvhfWxyBUwsC+Pqnp2Dzux0AlHzRTb8pOXZzk1hRb8w3dLHeLT19rmXPJPiYgIW58FnKtwWVGrbR2oSaTTtwEmPy5H3I3qYNpoMTzl2lEie1uzDBj8P/Jfjffo9PI93CyOh/Ysz/FoSnhcyEqwv8lld8w+CPfCTUKa0OvBZJV75EjZMJNKAUm6BWbI9Ic9eerJ4UvO7ys27XRPVZ5qg08WVCMZPZduoA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BvkwIAEA9UT3quraS5pxaNVHeiZ3BBag+kQ1QgGKdqZvPUJJV+he63lni1nCsMiqtt6rRxsAGXU77TBxZxHqRZ/kw1A2AjZY6gUf4zbCcVYV9hxQbQnah7/JiBZuIguMNuRC+1uaT+dfw7G/dGuGABcWp8edJXGsKiNfXcQyGHax0J5sALL+BU3sDmC6wvLrVVHWFBEwjTAKebw+JV0f9vTLVnzXNkeNgMZKfUCt9oPyrjBu8myjVg0U15GHdfLxahhmIFgBf+nikjWrniumBvqTNiJ2gwAMga005b9EgFdgg3GOMCoBfNViCN32dgeWWPbGSH/A+NkPm0YWRLq1iw==
- 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>, Oleksandr Tyshchenko <Oleksandr_Tyshchenko@xxxxxxxx>, "amd-xen-safety@xxxxxxxxx" <amd-xen-safety@xxxxxxxxx>
- Delivery-date: Wed, 23 Jul 2025 15:48:29 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHb+9rNCD0pdC1VhE+OyU7cYZL/l7Q/xA4AgAAB2ACAAAiFgIAADEcA
- Thread-topic: [PATCH] xen/arm, xen/common: Add Kconfig option to control Dom0 boot
On 23/07/2025 18:04, Jan Beulich wrote:
> On 23.07.2025 16:33, Oleksii Moisieiev wrote:
>> Hi Jan,
>>
>> On 23/07/2025 17:27, Jan Beulich wrote:
>>> On 23.07.2025 16:05, Oleksii Moisieiev wrote:
>>>> --- a/xen/arch/arm/Kconfig
>>>> +++ b/xen/arch/arm/Kconfig
>>>> @@ -19,6 +19,7 @@ config ARM
>>>> select HAS_ALTERNATIVE if HAS_VMAP
>>>> select HAS_DEVICE_TREE
>>>> select HAS_DOM0LESS
>>>> + select HAS_DOM0
>>> This wants to move one line up, for the set to remain sorted. But see below.
>>>
>>>> --- a/xen/common/Kconfig
>>>> +++ b/xen/common/Kconfig
>>>> @@ -21,6 +21,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
>>>> + depends on HAS_DOM0 && HAS_DEVICE_TREE && DOMAIN_BUILD_HELPERS
>>>> + default y
>>>> + help
>>>> + Dom0 boot support enables Xen to boot to the control domain (Dom0) and
>>>> + manage domU guests using the Xen toolstack with provided
>>>> configurations.
>>> What about non-Arm? x86 has a Dom0 too, but doesn't select HAS_DOM0. It
>>> actually requires a Dom0 for now, so to me HAS_DOM0 is a misnomer. Maybe
>>> HAS_OPTIONAL_DOM0?
>> Right now DOM0_BOOT is the only option for x86 so I've made the changes
>> only for arm.
> But this aspect of x86 isn't reflected in the option properties above. Imo
> at this point x86 should have this option set to Y unconditionally.
>
> Jan
Fair enough. However, this will result in an empty configuration for now
on x86.
I can add it if you’re okay with that.
--
Oleksii
|