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: Keir Fraser <keir.xen@xxxxxxxxx>
Subject: Re: [Xen-devel] xm save fails to save all pages
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Tue, 25 Oct 2011 15:43:16 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 25 Oct 2011 06:43:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1319550196; x=1351086196; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=Cd5hQBYeDDUSay+L9zluybHN+KIOM+qXYkvQ4rpv3YM=; b=L8Bb8vEpShK+rjWCalNaCZE/CCsscEbwi77PBQEIQ1ZKy2CJPR5wf9Jz 4O8qFmJVBMhVB96ORxCnnBxDrz8y3X9H7jtbVRYUmlVquRmd36kQc2az/ 8rMrtPydWVY246p05fdFuHaMg5WwIxQHupY9y+4eddZtNUjCgn/ChjL1k QA9SGKgukO9bfTCjP1xt0J89YvGGuQv8kkZYCPQorqCDiPtwQeg0vcYuO nqqnJhckNAx7hPcPWPHa2EoLmjuZ7;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=XBmJ+iJgAaEN+8cB1CryYQC86KM474Bp6tkdf3BkisUmtT3i0mNijQmR f3vLxd1QWZykD2pFlIkwLi8qFeFMqAMmpf77zPO9DzbCRUxSNMwnT7vqc L2ZlmstWX4qCUPTXwE2DlrN2xFAddfJ9I2gsVVYtek8hXSWJEYdXFwjc4 KSl3JUjAIP2TPeX/eDWvG7gqWILcmv0FCT+QPnCmY2ZJCMma4sPbl7nl/ N3k/pWtgmVmNLYIK9Ve/lvYJBCPLf;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CACC7917.23936%keir.xen@xxxxxxxxx>
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>
Organization: Fujitsu Technology Solutions
References: <CACC7917.23936%keir.xen@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Iceowl/1.0b2 Icedove/3.1.15
On 10/25/2011 03:32 PM, Keir Fraser wrote:
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.

Thanks! It IS a grant-table page.


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


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

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