From: David Vrabel Subject: Re: [Xen-devel] [PATCH 12/13] xen: if p2m list located in to be remapped region delay remapping Date: Thu, 19 Feb 2015 17:44:56 +0000 Message-ID: <54E62118.2090704@cantab.net> References: <1424242326-26611-1-git-send-email-jgross@suse.com> <1424242326-26611-13-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1424242326-26611-13-git-send-email-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org To: Juergen Gross , 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 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" ? > 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. David