WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xc_get_pfn_list() creates broken core files

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xc_get_pfn_list() creates broken core files
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 23 Nov 2006 08:52:36 +0000
Delivery-date: Thu, 23 Nov 2006 00:52:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061123024521.GA29877@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccO3LjW95AAVXrPEduWFwANk04WTA==
Thread-topic: [Xen-devel] xc_get_pfn_list() creates broken core files
User-agent: Microsoft-Entourage/11.2.5.060620


On 23/11/06 2:45 am, "John Levon" <levon@xxxxxxxxxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel