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: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xc_get_pfn_list() creates broken core files
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Thu, 23 Nov 2006 23:48:39 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 23 Nov 2006 15:48:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C18BE067.4C38%keir@xxxxxxxxxxxxx>
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>
References: <20061123205257.GA4041@xxxxxxxxxxxxxxxxxxxx> <C18BE067.4C38%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Nov 23, 2006 at 11:33:59PM +0000, Keir Fraser wrote:

> Rather than dump zero pages we could save a PFN-GMFN pair for each dumped
> page. These can all go at the start of the core file in place of the p2m.
> The dumped pages will then be in order of the PFN-GMFN pairs.

I suppose we could do that; it would make reading things out a bit
harder though, since you couldn't just mmap() the table any more[1]. It
would be nice to be able to dump only up to the current ballooning
though.

Something to consider for the new format, though we're going to be using
something similar to the patch I sent for our 3.0.3-based stuff and
leave HVM dumps as something for later.

regards
john

[1] which is slightly annoying anyway, since it's not page aligned.

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