From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: ARM-Xen customization of stage two translation. Date: Wed, 20 May 2015 13:11:54 +0100 Message-ID: <555C7A0A.1030409@citrix.com> References: <1432111140692.73283@mail.aub.edu>,<555C62E5.3020809@citrix.com> <1432122444328.21832@mail.aub.edu>,<555C758C.3060503@citrix.com> <1432123521790.34083@mail.aub.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Yv2rO-00084s-Va for xen-devel@lists.xenproject.org; Wed, 20 May 2015 12:12:31 +0000 In-Reply-To: <1432123521790.34083@mail.aub.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Mazen Ezzeddine (Student)" Cc: "xen-devel@lists.xenproject.org" List-Id: xen-devel@lists.xenproject.org On 20/05/15 13:05, Mazen Ezzeddine (Student) wrote: > > Thanks so much. > > I will ensure to keep xen-devel cced and avoid top-post. Sorry and thanks for notifying me. > > However, my use-case will involve a scenario where the the page frames excluded from the second stage translation are to be allocated on the fly (through a slightly modified second stage translation) to a special guest when scheduled. Does mreserve work in such scenario? Give a look to {,un}map_mmio_regions and guest_physmap_add_entry/guest_physmap_remove_page in xen/arch/arm/p2m.c regards, -- Julien Grall