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] Error restoring DomU when using GPLPV

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Error restoring DomU when using GPLPV
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 04 Aug 2009 11:28:10 +0100
Cc: Joshua West <jwest@xxxxxxxxxxxx>
Delivery-date: Tue, 04 Aug 2009 03:28:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DE05A@trantor>
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: AcoUog43ZhCRzTxFSPuGfTBNvaTQKgAAoXawAAfYLBAAAY5aQAADuI5wAADcjpYAATfpwAABGxh/AAAxIVAAAewVow==
Thread-topic: [Xen-devel] Error restoring DomU when using GPLPV
User-agent: Microsoft-Entourage/12.20.0.090605
On 04/08/2009 10:34, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

>> Just a theory. Maybe you could try unmapping grant/shinfo pages in the
>> suspend callback? This may not help for live migration though, where
> pages
>> get transmitted before the callback. It may be necessary to allow dom0
> to
>> specify 'map me a page but not if it's special' and plumb that up to
>> xc_domain_save. It'd be good to have the theory proved first.
>> 
> 
> Can do. What is the opposite of 'XENMEM_add_to_physmap' which I assume
> I'll need to unmap the grant pages? Is it XENMEM_decrease_reservation?

Oh yes, there is no direct opposite of add_to_physmap... But I think
decrease_reservation will work okay in this case, fortunately.

 -- Keir



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