[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: John Levon <levon@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AccO3LjW95AAVXrPEduWFwANk04WTA==
  • Thread-topic: [Xen-devel] xc_get_pfn_list() creates broken core files



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.