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: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "ANNIE LI" <annie.li@xxxxxxxxxx>
Subject: RE: [Xen-devel] Error restoring DomU when using GPLPV
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 20 Aug 2009 19:42:31 +1000
Cc: Joshua West <jwest@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Aug 2009 02:43:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6B2C793.126F8%keir.fraser@xxxxxxxxxxxxx>
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>
References: <4A8D0694.2010803@xxxxxxxxxx> <C6B2C793.126F8%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcohbtrH3e99GUlwROKfcLtvqX7BngAAT4LqAAKKz5A=
Thread-topic: [Xen-devel] Error restoring DomU when using GPLPV
> 
> On 20/08/2009 09:17, "ANNIE LI" <annie.li@xxxxxxxxxx> wrote:
> 
> >> Like I said before -- unmapping the gnttab pages I think will not
help you
> >> for live migration, but I suppose it is a reasonable thing to do
anyway.
> For
> >> live migration I think xc_domain_save needs t get a bit smarter
about
> >> Xenheap pages in HVM guests.
> > Yes. The live migration of windows domu with pv driver failed again
> > after we added unmapping gnttab and shinfo pages in suspending
process.
> > The save process is OK, but the restore hit the similar problem. So
what
> > should we do in windows pv driver to avoid this problem? Any
suggestion
> > for this issue?
> 
> Balloon down by (#gnttab+#shinfo) pages when PV drivers first load.
You
> could do this instead of unmapping gnttab+shinfo pages on suspend, or
as
> well as.
> 
> Ultimately the 'right' fix will need to be implemented in Xen and dom0
> tools. But the above kludge would work perfectly well I believe.
> 

Kludgy, as you say, but if it works then so be it.

Is there a future proof way for the drivers to know if they are running
under a future version of xen that isn't broken in this way? I'm
guessing not...

James

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

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