Re: [Xen-devel] [PATCH] libxc: correct memory range check in domain builder

2016-02-08 Thread Ian Campbell
On Mon, 2016-02-08 at 15:20 +, Anthony PERARD wrote: > On Mon, Feb 08, 2016 at 03:23:52PM +0100, Juergen Gross wrote: > > Commit 81a76e4b12961a9f54f5021809074196dfe6dbba ("libxc: rework of > > domain builder's page table handler") introduced a regression with > > checking the required memory si

Re: [Xen-devel] [PATCH] libxc: correct memory range check in domain builder

2016-02-08 Thread Anthony PERARD
On Mon, Feb 08, 2016 at 03:23:52PM +0100, Juergen Gross wrote: > Commit 81a76e4b12961a9f54f5021809074196dfe6dbba ("libxc: rework of > domain builder's page table handler") introduced a regression with > checking the required memory size of the domain. The needed maximum pfn > of the initial kernel

[Xen-devel] [PATCH] libxc: correct memory range check in domain builder

2016-02-08 Thread Juergen Gross
Commit 81a76e4b12961a9f54f5021809074196dfe6dbba ("libxc: rework of domain builder's page table handler") introduced a regression with checking the required memory size of the domain. The needed maximum pfn of the initial kernel mapping was added to the currently last used pfn resulting in doubling