[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:31:53 +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=fdkqiFOhbSlg4XrJ0IJr9dKdcSKYdYg/US6JN10P5DA=; b=FKgUni6hUKQ2dyU24cn1sqwk0pvoXTovri1X0/U7ouqqnTBHKVJa+V5JmBFOfqfS5svGx6Jy6ejKyQNVtafIWcqo4wnqplIxbkHlWnFX4E5LnvX4xYCbjWX8y0dDAJprHeMmhqmX5XLDWfXuQH3JZ+ettVTN6YZbYs8aeMqhTy4iWX9OvHiCFMjE4jcVXAgOEcaxRqRQtdzClhqaQGDla4J4vbGixaEyHLqlpRKe4Onz7YaoDHp8tRStFpZ5JYWRk0kPXA28RbQM6a03RltZCStI2IIDookoIbaLOegAMBGIHBLZhxtY1wz56LKThtgxiqHYHtkXhIWs5AEgX2DRyw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kJtBUPeCuYJbdpvjiYFRMCYboi+3j2PayW0i2DTXzXwQqvUo7Yng50BGR79HqWo+mXA5Mfy4HPEjaBxVsPMCiCQByWvFbsWyR3Cm9kv2uG17pEng+uE/FkLHxEt5Ox5ez/0E38EEJJXyIh5rg8BYgYa8+b3K9G28e0NcyRIyJb0RpVeDLTBqrjpsDI0z4qmIDdsoMxlcouoArUWCOjhWIQvH97wC19TVZxbQLuvLAZpzWVCNHkAts+KHkLOA6zoFwSGwAMaCqrVU8TXHIyZvqlw4NnJFfWXk1G5uJeGwRmwvGTGpPigzb2hi6q/XKR/k96mwkjEuKTE35MPzS8+liA==
  • 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>
  • Delivery-date: Wed, 23 Jul 2025 14:32:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHb+9rNCD0pdC1VhE+OyU7cYZL/l7Q/xMEAgAAAjwA=
  • Thread-topic: [PATCH] xen/arm, xen/common: Add Kconfig option to control Dom0 boot

Sorry, missed that on my send script

On 23/07/2025 17:29, Jan Beulich wrote:
> On 23.07.2025 16:05, Oleksii Moisieiev wrote:
>> This commit introduces a new Kconfig option, `CONFIG_DOM0_BOOT`, to
>> allow for building Xen without support for booting a regular domain (Dom0).
>> This functionality is primarily intended for the ARM architecture.
>>
>> A new Kconfig symbol, `HAS_DOM0`, has been added and is selected by
>> default for ARM architecture. This symbol signifies that an
>> architecture has the capability to support a Dom0.
>>
>> The `DOM0_BOOT` option depends on `HAS_DOM0` and defaults to 'y'. For
>> expert users, this option can be disabled (`CONFIG_EXPERT=y` and no
>> `CONFIG_DOM0_BOOT` in the config), which will compile out the Dom0
>> creation code on ARM. This is useful for embedded or dom0less-only
>> scenarios to reduce binary size and complexity.
>>
>> The ARM boot path has been updated to panic if it detects a non-dom0less
>> configuration while `CONFIG_DOM0_BOOT` is disabled, preventing an invalid
>> boot.
>>
>> Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@xxxxxxxx>
> Oh, also - can you please avoid Cc-ing (or even having as To: as you had
> it here) email addresses that will reject replies (see attached)?
>
> Jan

 


Rackspace

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