From: Juergen Gross Subject: Re: [Xen-devel] [PATCH 12/13] xen: if p2m list located in to be remapped region delay remapping Date: Tue, 24 Feb 2015 08:01:43 +0100 Message-ID: <54EC21D7.5010900@suse.com> References: <1424242326-26611-1-git-send-email-jgross@suse.com> <1424242326-26611-13-git-send-email-jgross@suse.com> <54E62118.2090704@cantab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54E62118.2090704@cantab.net> Sender: linux-kernel-owner@vger.kernel.org To: David Vrabel , linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org On 02/19/2015 06:44 PM, David Vrabel wrote: > On 18/02/2015 06:52, Juergen Gross wrote: >> With adapting the memory layout of dom0 to that of the host care must >> be taken not to remap the initial p2m list supported by the hypervisor. > > "...supplied by the hypervisor" ? Yes, of course. > >> If the p2m map is detected to be in a region which is going to be >> remapped, delay the remapping of that area. Not doing so can either >> crash the system very early, or lead to clobbered data as the target >> memory area of the remap operation will no longer be reserved. > > Would it be better to relocate the p2m before remapping memory? If not, > explain why in the commit message. Okay, will do. Juergen