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

Re: [Xen-devel] [PATCH V3] xen: Check if the range is valid in init_domheap_pages



On 20/11/2013 08:09, "Julien Grall" <julien.grall@xxxxxxxxxx> wrote:

> On 11/13/2013 01:37 PM, Julien Grall wrote:
>> On ARM, when an initrd is given to xen by U-boot, it will reserve the memory
>> in
>> the device tree.
>> In this case, when xen decides to free unused memory, dt_unreserved_regions
>> will call init_domheap_pages with the start and the end of range equals. But
>> the latter assumes that (start > end), if not Xen will hang because the
>> number of pages is equals to (unsigned)-1.
>> 
>> Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
>> CC: Keir Fraser <keir@xxxxxxx>
>> CC: Jan Beulich <jbeulich@xxxxxxxx>
> 
> Ping ? Without this commit, the user is unable to pass initrd to dom0 on
> ARM.

It was fine with me.

Acked-by: Keir Fraser <keir@xxxxxxx>



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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