[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/setup: do not relocate below the end of current Xen image placement
On Wed, Nov 29, 2017 at 07:56:24PM +0100, Daniel Kiper wrote: [...] > So, it looks that the condition should look like this right now: > > xen_phys_start >= XEN_IMG_OFFSET + _end - _start XEN_IMG_OFFSET + _end - _start == __pa(_end) > xen_phys_start == e > e = end - reloc_size > > end - reloc_size >= XEN_IMG_OFFSET + _end - _start > > So, finally it should be: > > if ( ( end > s ) && (end - reloc_size >= XEN_IMG_OFFSET + _end - _start) ) So, we have: if ( (end > s) && (end - reloc_size >= __pa(_end)) ) Daniel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |