Hi Simon again,
After a bit more thinking: In theory mmap() could also return NULL.
Therefore the following fix is probably the better one ...
---
Subject: [PATCH] kexec: fix mmap return code handling
When mmap fails, MAP_FAILED (that is, (void *) -1) is returned. Currently
we assume that NULL
On Thu, 26 Nov 2015 18:32:31 +0100
Michael Holzheu wrote:
> Hi Simon again,
>
> After a bit more thinking: In theory mmap() could also return NULL.
> Therefore the following fix is probably the better one ...
No, if you let the kernel choose the address (i.e. call
On Thu, 26 Nov 2015 19:02:28 +0100
Petr Tesarik wrote:
> On Thu, 26 Nov 2015 18:32:31 +0100
> Michael Holzheu wrote:
>
> > Hi Simon again,
> >
> > After a bit more thinking: In theory mmap() could also return NULL.
> > Therefore the following fix
It appears that (older?) revisions of xenctl.h define
all of the E820_* values used in kexec-x86-common.c except
E820_PMAM and E820_PMEM. This results in a build failure when
building against libxenctl.
Avoid this problem by providing local definitions of those values.
It seems reasonable to do
On Thu, Nov 26, 2015 at 08:02:35PM +0100, Michael Holzheu wrote:
> On Thu, 26 Nov 2015 19:02:28 +0100
> Petr Tesarik wrote:
>
> > On Thu, 26 Nov 2015 18:32:31 +0100
> > Michael Holzheu wrote:
> >
> > > Hi Simon again,
> > >
> > > After a bit more
On 11/27/15 at 09:36am, Simon Horman wrote:
> It appears that (older?) revisions of xenctl.h define
> all of the E820_* values used in kexec-x86-common.c except
> E820_PMAM and E820_PMEM. This results in a build failure when
> building against libxenctl.
>
> Avoid this problem by providing local