From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: Re: Linux Stubdom Problem Date: Tue, 23 Aug 2011 11:07:19 +0100 Message-ID: <20110823100719.GD96414@ocelot.phlegethon.org> References: 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: Ian Campbell , Anthony PERARD , "Xen-devel@lists.xensource.com" , Jiageng Yu , Samuel Thibault List-Id: xen-devel@lists.xenproject.org At 20:36 +0100 on 22 Aug (1314045383), Stefano Stabellini wrote: > The current implementation of IOCTL_PRIVCMD_MMAPBATCH is only capable of > mapping foreign mfns into the address space of the caller, while we need > to remap a set of pages already mapped in the address space of the > caller to some gmfns of a foreign domain. In other words we need the > same functionality but in the other direction. I think I was confused whan you told me about this yesterday. Do you need to map some of the linux-qemu-dom's memory into the guest? In that case, I think you can just grant the pages to the guest VM and use XENMAPSPACE_grant_table to map them. Cheers, Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)