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

[PATCH] x86/PV: suppress unnecessary Dom0 construction output


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 16 Aug 2021 17:30:10 +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-SenderADCheck; bh=c2FQqTC+7zHg8fr8cX2PKnhOZ11ZlAANFIcYhl89bXs=; b=DraB1OXsSQc2PQLp9TjELMzaBug+BVBblUONto0GK9Ojq2iB+VrSciylOhTCVpu2wN2Semsc5nejAeXCannTz4HFKKUEcjTOjvvsrxLe44Tr4i19eTO1B3ers5P3xtuVVVtVi6F4nL4PdSsPwQm+DAWSOlYXEmqDzGc3rhcT5ETSCEl1idEFEWOXMF4r/WgVH3ReTHO41kGQ2Fwvas6w4kW8YSInEjHCZPrL1LkniNGJpQBBIGgQi3g81C07d12ppmf2pSBsrynLA7lee0t6fZUjk8kUNln55Veg6jXKhy8TgxN1q9qxP6mHWhoUjXAhLYw6zwr5qodzmSsgXPr56w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/C9knEVGXa2aG8lUcffbHT6jXFhBL0Y+3+mV5zUiPhk6phHNSDJkmXZlbkO7R8V6mkner370ccHY5po8MvKxk12sbZ3ifzLlmJJEU2fKFrpd9KU3N+pa77gGaoFB6V9V0omiMwSRSwePCYuTLWA1l973UGHJGCt7Hmo6N4Xiyg22vcAPTDRzF8nyv05s2okESf7gxduA9xnl7SpPpTOBqPLBO+UCb1yERmU5FSboAB52mJY+tUouDzqBmeAnw6OTPeyQvLa8MH3kdGD0TqqAOmiBLpHqOCPPocbwoo+hrQusIOp3RZ+44wQMk7u2h/ijRbjit8sj0zz0jabYoctow==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 16 Aug 2021 15:30:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Especially with XEN_GUEST, being a prereq of PV_SHIM, defaulting to N,
v{xenstore,console}_{start,end} can only ever be zero in such default
configurations. And in case video is the only output configured, space
is scarce. Omit the two lines carrying no information at all in this
case.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/xen/arch/x86/pv/dom0_build.c
+++ b/xen/arch/x86/pv/dom0_build.c
@@ -580,8 +580,10 @@ int __init dom0_construct_pv(struct doma
            " Init. ramdisk: %p->%p\n"
            " Phys-Mach map: %p->%p\n"
            " Start info:    %p->%p\n"
+#ifdef CONFIG_PV_SHIM
            " Xenstore ring: %p->%p\n"
            " Console ring:  %p->%p\n"
+#endif
            " Page tables:   %p->%p\n"
            " Boot stack:    %p->%p\n"
            " TOTAL:         %p->%p\n",
@@ -589,8 +591,10 @@ int __init dom0_construct_pv(struct doma
            _p(vinitrd_start), _p(vinitrd_end),
            _p(vphysmap_start), _p(vphysmap_end),
            _p(vstartinfo_start), _p(vstartinfo_end),
+#ifdef CONFIG_PV_SHIM
            _p(vxenstore_start), _p(vxenstore_end),
            _p(vconsole_start), _p(vconsole_end),
+#endif
            _p(vpt_start), _p(vpt_end),
            _p(vstack_start), _p(vstack_end),
            _p(v_start), _p(v_end));




 


Rackspace

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