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

[PATCH] libelf: make L1_MFN_VALID note known


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 17 May 2023 16:19:49 +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=1bJnpVJS26DUGOoYs8j6hlPZt9tMU0BLefLMqRo512k=; b=Ns6u7gPe1t7Z8EJgTMrcxUdb+MgA00pCHNmm6hXRpBUiwSLc3ToTWNZcJrHdJkU4TWqLD343TULwJW83PNAoZ+xZ2M+c6YAbwDMNUC51ajuok6tvuZkIIvUbDf5l8usYU2sXfXC3vzRmMe8huKxUHmeRD6WD+4jWk3EuFYWgSuzvu2lyfsnaDq1Pv+Zuzpb2Y/1LLLeh1p2MlnCv5yM3eyWJdhfQjXi9w9OjAZQZVi5NofB05iTMDI1mPTqlZUHkQ8gD3mokRvn59pnMXHUmi0vIPvIGoMPQOX3GRx5IodDiEZ7sCrSl9kl1JeOc4FWvUKHHu0x+VR5vFDoICvHX+g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cCHrgDsrod6cFbj3SyZihSRlKNGb0cuIA621fRr/kYg3Is0WLWlrPuTsboV7WX8NzAim565Khg0Q2s60jmfMnR58OyweIvLWAaluywvJ8lD9CqT89kPYOuzyj5tAOHKPxZXkdlmWDveO3lKiq4gaaMrJTole+su+T/CdZyuJXfJyFb4aV4pqRlRd/V0nwYA04VtsQZNJBUZGOjr2enHenQBjB7nDCWkMIbM1q1/h0jwuapjLOoUWVk54NRqGST9u+Lp6IGWGyNd0HJQ1cCWiuD+Vs7f6Utbtrwvc0N+9GgG3iH/+MQsIm0lFGsYdPQlvr/xWqXCgpMVwidcFRNG1hw==
  • 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>
  • Delivery-date: Wed, 17 May 2023 14:20:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

We still don't use it (in the tool stack), and its values (plural) also
aren't fetched correctly, but it is odd to continue to see the
hypervisor log "ELF: note: unknown (0xd)" when loading a Linux Dom0.

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

--- a/xen/common/libelf/libelf-dominfo.c
+++ b/xen/common/libelf/libelf-dominfo.c
@@ -117,6 +117,7 @@ elf_errorstatus elf_xen_parse_note(struc
         [XEN_ELFNOTE_FEATURES] = { "FEATURES", 1},
         [XEN_ELFNOTE_SUPPORTED_FEATURES] = { "SUPPORTED_FEATURES", 0},
         [XEN_ELFNOTE_BSD_SYMTAB] = { "BSD_SYMTAB", 1},
+        [XEN_ELFNOTE_L1_MFN_VALID] = { "L1_MFN_VALID", false },
         [XEN_ELFNOTE_SUSPEND_CANCEL] = { "SUSPEND_CANCEL", 0 },
         [XEN_ELFNOTE_MOD_START_PFN] = { "MOD_START_PFN", 0 },
         [XEN_ELFNOTE_PHYS32_ENTRY] = { "PHYS32_ENTRY", 0 },



 


Rackspace

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