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

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



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).


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


 


Rackspace

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