From: Ian Campbell Subject: Re: [V2 PATCH 6/8] PVH dom0: Introduce p2m_map_foreign Date: Tue, 26 Nov 2013 16:11:38 +0000 Message-ID: <1385482298.23112.110.camel@kazak.uk.xensource.com> References: <1385165018-25933-1-git-send-email-mukesh.rathor@oracle.com> <1385165018-25933-7-git-send-email-mukesh.rathor@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini , Tim Deegan , "keir.xen@gmail.com" , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Tue, 2013-11-26 at 16:00 +0000, George Dunlap wrote: > On Sat, Nov 23, 2013 at 12:03 AM, Mukesh Rathor > wrote: > > In this patch, a new type p2m_map_foreign is introduced for pages > > that toolstack on PVH dom0 maps from foreign domains that its creating > > or supporting during it's run time. > > > > Signed-off-by: Mukesh Rathor > > Why is this needed? Does ARM have a concept of p2m_map_foreign? grep > doesn't turn it up... how does ARM dom0 deal with foreign mappings, > and is there a reason we can't copy their approach? The p2m types are currently per-arch. ARM doesn't currently have much in the way of the concept of such things, but it should eventually and foreign map seems likely to be one of them. Ian.