|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/setup: Don't relocate p2m/initrd over existing one
On 12/09/2016 09:08 PM, Boris Ostrovsky wrote: On 12/09/2016 10:50 AM, Ross Lagerwall wrote:When relocating the p2m/initrd, take special care not to relocate it so that is overlaps with the current location of the p2m/initrd. This is needed since the full extent of the current location is not marked as a reserved region in the e820 (and it shouldn't be since it is about to be moved). This was seen to happen to a dom0 with a large initial p2m and a small reserved region in the middle of the initial p2m. If addr is in [cur_start, cur_start + cur_size) then start is set to addr + PAGE_SIZE and we go round the inner loop again. If the new addr is still in [cur_start, cur_start + cur_size) then we set start to addr + PAGE_SIZE and go round again... I can't see why it would return it It is treated the same as if addr is in a reserved memblock. -- Ross Lagerwall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |