From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: Re: Linux Stubdom Problem Date: Mon, 29 Aug 2011 14:18:45 +0100 Message-ID: <20110829131845.GA7850@ocelot.phlegethon.org> References: <20110823100719.GD96414@ocelot.phlegethon.org> <20110827130657.GA44193@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk , Ian Campbell , Jiageng Yu , Anthony PERARD , Samuel Thibault List-Id: xen-devel@lists.xenproject.org At 13:27 +0100 on 29 Aug (1314624464), Stefano Stabellini wrote: > > So it is; I had misremembered the interface. GNTTABOP_map_grant_ref is > > the hypercall to map granted pages into the p2m. > > Are you sure? I think that GNTTABOP_map_grant_ref maps foreign granted > pages into our own domain, in fact it takes a domid and a grant table > reference as input parameters to specify the source page, host_addr is > the destination in our own domain. Oh, so it will. You'd need to arrange for that to be called from inside the guest; or you could implement an add_to_physmap space for it; that could be called from another domain. Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)