From: Keir Fraser Subject: Re: xc_get_pfn_list() creates broken core files Date: Thu, 23 Nov 2006 08:52:36 +0000 Message-ID: References: <20061123024521.GA29877@totally.trollied.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061123024521.GA29877@totally.trollied.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: John Levon , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 23/11/06 2:45 am, "John Levon" 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. xc_linux_save has code to map it, and from that code it's then easy to save it. get_pfn_list is deprecated. -- Keir