From: Keir Fraser Subject: Re: DOM0_GETPAGEFRAMEINFO for non-dom0 domains Date: Tue, 16 Aug 2005 16:40:28 +0100 Message-ID: References: <430204E1.3030006@diku.dk> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <430204E1.3030006@diku.dk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 16 Aug 2005, at 16:23, Jacob Gorm Hansen wrote: > with writable page tables it takes a little more work tracking page > types from within a domU. Basically, I need to duplicate Xen's pgd > walks > when pinning and unpinning pgds, within the domU, in order to obtain a > consistent map of page types for my own pages. > > It seems it would be a lot easier just to allow domUs access to a > DOM0_GETPAGEFRAMEINFO-like hypercall that would extract this info from > Xen. Would you consider merging a patch to do this, and how/where would > you prefer it to be implemented? Implement it as a new MMUEXT operation and we'll consider it. -- Keir