Re: [Xen-devel] [PATCH for-4.6] tools/libxc: arm: Check the index before accessing the bank

2015-09-28 Thread Ian Campbell
On Fri, 2015-09-25 at 13:26 +0100, Ian Campbell wrote: > On Mon, 2015-09-21 at 12:54 +0100, Ian Campbell wrote: > > On Fri, 2015-09-18 at 11:30 +0100, Wei Liu wrote: > > > > > > > H I forgot my Signed-off-by :(. > > > > > > > > > > Signed-off-by: Julien Grall > > > > > > > > Acked-by: Ian C

Re: [Xen-devel] [PATCH for-4.6] tools/libxc: arm: Check the index before accessing the bank

2015-09-25 Thread Ian Campbell
On Mon, 2015-09-21 at 12:54 +0100, Ian Campbell wrote: > On Fri, 2015-09-18 at 11:30 +0100, Wei Liu wrote: > > > > > H I forgot my Signed-off-by :(. > > > > > > > > Signed-off-by: Julien Grall > > > > > > Acked-by: Ian Campbell > > > > > > This is a no brainer for 4.6 (and further) IMHO a

Re: [Xen-devel] [PATCH for-4.6] tools/libxc: arm: Check the index before accessing the bank

2015-09-21 Thread Ian Campbell
On Fri, 2015-09-18 at 11:30 +0100, Wei Liu wrote: > > > H I forgot my Signed-off-by :(. > > > > > > Signed-off-by: Julien Grall > > > > Acked-by: Ian Campbell > > > > This is a no brainer for 4.6 (and further) IMHO and with Wei not being > > around I shall plan to apply later today unless

Re: [Xen-devel] [PATCH for-4.6] tools/libxc: arm: Check the index before accessing the bank

2015-09-18 Thread Wei Liu
On Fri, Sep 18, 2015 at 09:52:44AM +0100, Ian Campbell wrote: > On Thu, 2015-09-17 at 18:42 +0100, Julien Grall wrote: > > On 17/09/15 18:36, Julien Grall wrote: > > > When creating a guest with more than 3GB of memory, the 2 banks will be > > > used and the loop with overrunning. The code will fai

Re: [Xen-devel] [PATCH for-4.6] tools/libxc: arm: Check the index before accessing the bank

2015-09-18 Thread Ian Campbell
On Thu, 2015-09-17 at 18:42 +0100, Julien Grall wrote: > On 17/09/15 18:36, Julien Grall wrote: > > When creating a guest with more than 3GB of memory, the 2 banks will be > > used and the loop with overrunning. The code will fail later on because > > Xen will deny to populate the region: > > > >

Re: [Xen-devel] [PATCH for-4.6] tools/libxc: arm: Check the index before accessing the bank

2015-09-17 Thread Julien Grall
On 17/09/15 18:36, Julien Grall wrote: > When creating a guest with more than 3GB of memory, the 2 banks will be > used and the loop with overrunning. The code will fail later on because > Xen will deny to populate the region: > > domainbuilder: detail: xc_dom_devicetree_mem: called > domainbuilde

[Xen-devel] [PATCH for-4.6] tools/libxc: arm: Check the index before accessing the bank

2015-09-17 Thread Julien Grall
When creating a guest with more than 3GB of memory, the 2 banks will be used and the loop with overrunning. The code will fail later on because Xen will deny to populate the region: domainbuilder: detail: xc_dom_devicetree_mem: called domainbuilder: detail: xc_dom_mem_init: mem 3096 MB, pages 0xc1