[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 14:33:50 +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=cplJ8Dy2Jv489wyd7vRJX/ac6dYwfqZnnqZJtQ4EZRA=; b=gk34UjrVWEpnuBbXkCISFmy+6wG5AzFp9PkdGZanPBBwoP5xruLo/g5r4XbREcDof3KGBmxfH0msnV6/tM4AD9FPwHwwB3+rgEDhznal6QtC/a7AR4l+krvGP7BnWZFXb6dJT1/E65PF5p/gz30tCB6XO2O1LPqf0Wvzcf2PqWNcU+d4YtmbnJURtf/ZESEXY2ApeTnsEFZyV1QBTnyD/T4RBnW/d8jLpOoD4gPMztmvKUTGtowekxLHcB/PkHlRea8GRBnKPmmnw3ateH2Q9hIx/mVHK00TSQkZ8hoeJPEIpGXrVgkUpX7Sgik0juyyiKMy4pcLS9JGXOSwrvelVA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Eh7/7qNvjKLviwLj71qdgZuA+cDpq+C1BOu/AB17k3RlWxT6hnvXhapqAmsT+1J5Oavn7DKkONdwEAUlo2I26qxQauCBTMgaBg2h6ZuL+1uYm3NRqKKqWdU4K5reWrO3VfeCEXGysu4u0C1pFQrclr+WFQJv+JmMKG7gYd4mC6/l/B2F+q8eizVCOW146giD0i2To6gRx6j/F+h6+IbFeIhvSLR/hXiLpaiwUkTBsRgORe+Z5FfHAPduChnF3JzxyM9DJM/+uilrBffPr1oR+ohoXj8JZEw93rgRGgZ0elvM6JzwITknFPLxrLQL0ia7/Yx1GGkUmTRTzMggJRm0mg==
  • 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 14:33:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHb+9rNCD0pdC1VhE+OyU7cYZL/l7Q/xA4AgAAB2AA=
  • Thread-topic: [PATCH] xen/arm, xen/common: Add Kconfig option to control Dom0 boot

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 I'm still leaving these options in common because IIUC dom0less for 
x86/hyperlauch support
is in merge process right now. So once it merged this parameter could be 
used for x86 arch.
>> @@ -92,6 +100,9 @@ config HAS_DEVICE_TREE
>>   config HAS_DOM0LESS
>>      bool
>>   
>> +config HAS_DOM0
>> +    bool
> Same here as to sorting, no matter that ...
>
+
>>   config HAS_DIT # Data Independent Timing
>>      bool
>>   
> ... HAS_DOM0LESS and this one are misplaced with one another.
>
> Jan

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.