From: John Levon Subject: Re: xc_get_pfn_list() creates broken core files Date: Thu, 23 Nov 2006 18:16:28 +0000 Message-ID: <20061123181628.GA31293@totally.trollied.org> References: <20061123024521.GA29877@totally.trollied.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, Nov 23, 2006 at 08:52:36AM +0000, Keir Fraser wrote: > > This does not account correctly for 'holes' where the pfn no longer maps an > > mfn, and thus doesn't appear on page_list. As a result the whole array gets > > out > > of sync. What's the right fix here? Below is what I threw together to verify > > the problem. > > Save out the guest's own p2m table. OK. What about HVM? > get_pfn_list is deprecated. Would be nice if that were mentioned somewhere :) regards john