[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] xen: update CONFIG_DEBUG_INFO help text


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 7 Mar 2023 15:18:41 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=MNBXG18Uz8BkwbiBLxHtqKffUuQw5MlNCR2mFiJJPAo=; b=W6U6fmLS+SODtZIhXpsOTcjpS3mR/ypo8/CXSDLMEk1fndWtsUseWbw7vQ6tNfRi/P8V4A1r3SHqNJESddlywAWeelak0e+iuaBhbkLzthtl+V6DIsldkBF4nePiofaOq9u9B6uOINdPDFDU9pIaZSerGdjKF7XxD1KM8ZWf+ImZj9P33tHROQwOVS0UuEmTWlaWiGRdObZVsjg/9rZqlJZz6UTuOmW+wS50geeIdpQ+SHsziiZQ2Nj/7bK/AGhRWViJMgot0MWHChxY0BiM5IrYxJAe2tGCkn0uwNwnCcUami55KMURQ60clXQPJ/IDxE8p3AoaYs+q5+WFMGntkQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HrHfbkIQ8kuXswAIPOwXSo+SU8Fm/0l+boi+Oc8s1YWEjYO8+KsqyvFjkBQKNZ86bGniXzn7YltJcc5wPwT3g9H827w1YQdPt8E1GYv2xdN3Fa/soyVZxHAIiV0n3lGl+xQhW5cTRxJeGs4hAZFVBYa0vxpOVKMJTJv7pWjo6PrJwtRaGk8WSY75fGuOJ/8JyyhZBW65byc6V+BOACRsn4f3X+uDNjH9CqkFWaj7wqBFRmX4CR+yVMzvis0H0BOGZp/WhdApm/KhQHo2flRKEXg+kKt5Se2f1zWXSx4MTdjxaw6DO5dBEKhQujqflR07To1MDRvj046ZTTfqfGTGmA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 07 Mar 2023 14:18:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 07.03.2023 15:04, Juergen Gross wrote:
> On 07.03.23 11:41, Jan Beulich wrote:
>> On 07.03.2023 07:32, Juergen Gross wrote:
>>> --- a/xen/Kconfig.debug
>>> +++ b/xen/Kconfig.debug
>>> @@ -15,8 +15,11 @@ config DEBUG_INFO
>>>     bool "Compile Xen with debug info"
>>>     default DEBUG
>>>     ---help---
>>> -     If you say Y here the resulting Xen will include debugging info
>>> -     resulting in a larger binary image.
>>> +     Say Y here if you want to build Xen with debug information. This
>>> +     information is needed e.g. for doing crash dump analysis of the
>>> +     hypervisor via the "crash" tool.
>>> +     Saying Y will increase the size of xen-syms and the built EFI
>>> +     binary.
>>
>> Largely fine with me, just one question: Why do you mention xen-syms by
>> name, but then verbally describe xen.efi? And since, unlike for xen-syms,
> 
> For xen-syms I couldn't find an easily understandable wording. I'd be fine
> with just saying "xen.efi".
> 
>> this affects the installed binary actually used for booting (which may
>> be placed on a space constrained partition), it may be prudent to
>> mention INSTALL_EFI_STRIP here (as a way to reduce the binary size of
>> what ends up on the EFI partition, even if that wouldn't affect the
>> "normal" way of putting the binary on the EFI partition - people would
>> still need to take care of that in their distros).
> 
> What about adding a related Kconfig option instead?

How would a Kconfig option possibly affect this? You want debug info
in the xen.efi in its standard install location (outside of the EFI
partition); or else if you don't want it there why would you want it
in xen-syms? It is the step of populating the EFI partition from the
standard install location where some equivalent of INSTALL_EFI_STRIP
would come into play. That step is done outside of Xen's build
system and hence outside of any Kconfig control.

Jan

> I'd be fine with a textual mentioning of INSTALL_EFI_STRIP, too.
> 
>> I guess this size aspect wrt the EFI partition is actually something
>> that should also be mentioned in patch 1, because this can be an argument
>> against exposure of the option (precisely because it requires extra
>> activity to prevent the EFI partition running out of space).
> 
> This might be another reason to make it easily configurable.
> 
> 
> Juergen




 


Rackspace

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