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

Re: [PATCH] libelf: Handle PVH kernels lacking ENTRY elfnote



On 14.10.20 18:27, Jason Andryuk wrote:
On Wed, Oct 14, 2020 at 12:12 PM Jürgen Groß <jgross@xxxxxxxx> wrote:

On 14.10.20 17:31, Jason Andryuk wrote:
Linux kernels only have an ENTRY elfnote when built with CONFIG_PV.  A

This wrong. Have a look into arch/x86/platform/pvh/head.S

That is XEN_ELFNOTE_PHYS32_ENTRY, which is different from
XEN_ELFNOTE_ENTRY in arch/x86/xen/xen-head.S:
#ifdef CONFIG_XEN_PV
         ELFNOTE(Xen, XEN_ELFNOTE_ENTRY,          _ASM_PTR startup_xen)
#endif

Oh, sorry, I shouldn't have answered when being in a hurry.

I misunderstood the purpose of the patch.


Sorry for the noise,

Juergen




 


Rackspace

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