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

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


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 5 Apr 2023 15:04:07 +0200
  • 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=TuJFnVFq4lYzErg+AcntKHgzOzemz92LMQw4cTfU8u4=; b=OKeQPRmFiUELpLtmXyUeRceSqAtltirsMpBjlppkFKlunUlD5gb8/Tqn+DoCEhnVgauyh0yQsT3nmuRsBDGX8malFYbi9cij0yvc1N5Ssp7UMN7hh7GexRSwIf1QZvdE02Wkjgn9vsvcviQw08Hm5VOQfYb2fXf3HAfbMQPEonWW6PYWueyQpI60UP71iC81XB5zhDtUAalVBfHwI8aH2FHNwooIzw6QO6d9ZTZ9eYEWb7csdWPn5aM478sR5vaeFUmTpXG/V8d1uO136h+xL4l3o43pyEdRWB9SEWX76HRarq4h4JJw0lfdH/cnJerAk51+QcRjMtXwj6/0AM0F6w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T0K2nSDTWCPjyRe5K/YcvofxJxRW4cvVZ3q/yrRSUbbuJuXEfE3+mgtoKr7xphQ4IuYRsVrjj8wj4GpFDMupmwormcIdT4JYXFmLxya7791b3Q/x1stiIXnzOPjDGxmEDWJ5jP3OpJYMP/xH1Ab4xU7ymFeJma0osNeopNoPIjX7aNpWxTE6ZEpKsSQbKjuFChLxKrrle0ERe86Pr40TlPKubM1dhHPw4x/sa4mcYCmFKWsSor7IvgmJx4Ya98h0LYax/tQEdlnFzCIA5BmI8qCp601Y7b9bMeGOXZUOqBBWCHlKiCaVZ3M9jg2k7GkTAFNFIesGljSAJm3RqP8yVA==
  • 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: Wed, 05 Apr 2023 13:04:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.04.2023 13:24, Juergen Gross wrote:
> On 04.04.23 11:09, Jan Beulich wrote:
>> On 03.04.2023 18:28, Juergen Gross wrote:
>>> --- a/xen/Kconfig.debug
>>> +++ b/xen/Kconfig.debug
>>> @@ -15,8 +15,14 @@ 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 the xen-syms and xen.efi
>>> +     binaries. In case the space on the EFI boot partition is rather
>>> +     limited, you may want to make use of the INSTALL_EFI_STRIP make
>>> +     variable when building the hypervisor, in order to strip xen.efi
>>> +     before installing it to the EFI partition.
>>
>> Hmm, INSTALL_EFI_STRIP is only a courtesy to developers wanting to install
>> xen.efi directly into the EFI partition. It wouldn't affect the normal
>> flow, and hence I think this wants expressing here such that both kinds of
>> people have at least a hint what they need to do. I.e. in the normal case
>> they'd need to adjust the way xen.efi is "propagated" from its installed
>> location onto the EFI partition, to do the desired stripping at that time.
> 
> Would you be fine with:
> 
>    In case the space on the EFI boot partition is rather
>    limited, you may want to install a stripped variant of xen.efi in
>    the EFI boot partition (look for "INSTALL_EFI_STRIP" in
>    docs/misc/efi.pandoc for more information - when not using
>    "make install-xen" for installing xen.efi, stripping needs to be
>    done outside the Xen build environment).

SGTM, thanks.

Jan



 


Rackspace

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