From: Keir Fraser Subject: Re: [PATCH 1 of 3] Ensure maps used by nested hvm code cannot be paged out Date: Thu, 24 Nov 2011 17:04:29 +0000 Message-ID: References: <20111124164805.GN77868@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111124164805.GN77868@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan , Andres Lagar-Cavilla Cc: andres@gridcentric.ca, xen-devel@lists.xensource.com, keir.xen@gmail.com, JBeulich@suse.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org On 24/11/2011 16:48, "Tim Deegan" wrote: > This is a bit messy still. On 64-bit Xen we could just use > virt_to_page() on the map pointers rather than storing their > page_info pointers separately. > > On 32-bit, maybe we could use the existing linear mappings to look up > the MFN instead. Or would it be easier to add a function to eth > map_domain_page() family that does va->mfn for mapped frames? > Keir, any opinion? Whatever's easiest. 32-bit isn't a priority. -- Keir