From: John Levon Subject: Re: xc_get_pfn_list() creates broken core files Date: Thu, 23 Nov 2006 23:48:39 +0000 Message-ID: <20061123234839.GA9243@totally.trollied.org> References: <20061123205257.GA4041@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 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.