From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: behavioral change due to new elf code Date: Fri, 09 Feb 2007 14:17:36 +0100 Message-ID: <45CC7470.4060002@suse.de> References: <45CC7EC1.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090402020807050501030809" Return-path: In-Reply-To: <45CC7EC1.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------090402020807050501030809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Jan Beulich wrote: > Is it intentional that with the new ELF code notes unknown to the hypervisor > lead to dom0 being unbootable? The old code simply queried for those notes > mattering at all for dom0, but din't care about any others... No. -- Gerd Hoffmann --------------090402020807050501030809 Content-Type: text/plain; name="fix" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix" --- xen/common/libelf/libelf-dominfo.c~ 2007-02-08 09:39:33.000000000 +0100 +++ xen/common/libelf/libelf-dominfo.c 2007-02-09 14:14:58.000000000 +0100 @@ -107,9 +107,9 @@ if ((type >= sizeof(note_desc) / sizeof(note_desc[0])) || (NULL == note_desc[type].name)) { - elf_err(elf, "%s: unknown xen elf note (0x%x)\n", + elf_msg(elf, "%s: unknown xen elf note (0x%x)\n", __FUNCTION__, type); - return -1; + return 0; } if (note_desc[type].str) --------------090402020807050501030809 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------090402020807050501030809--