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] xm save fails to save all pages

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xm save fails to save all pages
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Tue, 25 Oct 2011 14:32:55 +0100
Cc:
Delivery-date: Tue, 25 Oct 2011 06:33:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=Lz+SFSWcaCwC/zNOtRMwjpQlfvjgqsnUYRlgu8rmwOo=; b=cZP7nKUwYNOYtSVgvbSHu/yJPxcKIBNWZuUZeK1pLqSQOX8q3+pQ1WBbL9mwSu1iNG sJ9X5mYMubgBBAITVSFp5CLdH3rF2dlF6/ChqLJdiphnytXGhoo3JhNPtdXyCOh247bX 7rWGJmhGibKLX215QPCVCQljgJhSBSEzNJozA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EA6B68C.8050404@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyTGpoOAzceerCIYk6lDyQRH9DNbA==
Thread-topic: [Xen-devel] xm save fails to save all pages
User-agent: Microsoft-Entourage/12.30.0.110427
On 25/10/2011 14:15, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:

> in preparation to support live migration for BS2000 I'm testing my domU (HVM
> with PV-drivers) with xm save/restore. I'm running xen 4.0.2 (from SLES11
> SP1).
> 
> During xm save I see the following line in xend.log:
> 
> [2011-10-25 13:25:25 31519] INFO (XendCheckpoint:484) Saving memory pages:
> iter 1   0%type fail: page 510 mfn 000011fe
> 
> I added some diagnostic code to the hypervisor (in arch/x86/domctl.c) and
> found
> that the hypervisor believes gmfn 11fe of the domU is part of the xen heap.
> 
> The problem is always reported for gmfn 11fe, regardless of the memory size of
> the domU: I tried 1, 2 and 8 GB. The memory page isn't used for anything
> special in the domU, there is no problem accessing it or mapping it to dom0
> before doing the xm save (or after xm save -c).
> 
> When I try to restore the saved domain I can't map gmfn 11fe of the domU any
> longer in dom0 (this was the first hint there is a problem at all).
> 
> How can a domU memory page be part of the xen heap?

It could be the domain's shared-info page, or one of its grant-table pages.
It doesn't make sense to save/restore such pages -- they get reconstructed
appropriately on the receiving end, by the toolstack and/or by the domain
itself when it resumes execution.

 -- Keir




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

<Prev in Thread] Current Thread [Next in Thread>