From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: [hybrid]: code review for function mapping pfn to foreign mfn Date: Fri, 27 Apr 2012 09:51:41 +0100 Message-ID: <20120427085141.GB86045@ocelot.phlegethon.org> References: <20120413182952.504e2775@mantra.us.oracle.com> <20120419141527.GB23663@ocelot.phlegethon.org> <20120423183709.5636656f@mantra.us.oracle.com> <20120424093626.GC34721@ocelot.phlegethon.org> <20120424160643.531daf88@mantra.us.oracle.com> <20120426090847.GA67043@ocelot.phlegethon.org> <20120426111848.34e43e75@mantra.us.oracle.com> <20120426195712.GG67043@ocelot.phlegethon.org> <20120426185605.48f27816@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120426185605.48f27816@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: Ian Campbell , Keir Fraser , "Xen-devel@lists.xensource.com" , "stefano.stabellini@eu.citrix.com" List-Id: xen-devel@lists.xenproject.org At 18:56 -0700 on 26 Apr (1335466565), Mukesh Rathor wrote: > The tools get an array of the PV domU mfn's. Next to build pagetables, it > needs to map them. It does via privcmd. I generate needed pfn space (not > virtual address space) via ballooning. Next I need to map each pfn to > the domU mfns. This is a pv guest being built. So, these are mfns' that > don't need looking up. I'm sorry, my brain was addled from staring at spinlock code too long. Of course, since the domU is PV you already have MFNs. In that case, I can't think of any obvious reasons for the failure. you'll just have to dig a bit further -- see exactly which entry it's complaining about, whether it matches what the dom0 tools thought they put there, and what you would expect to be there. Cheers, Tim.