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] several Qs about domain live migration

To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Subject: Re: [Xen-devel] several Qs about domain live migration
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 09:47:56 +0000
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 18 Nov 2008 01:48:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49228C4A.4090205@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclJYruc+kaQB7VVEd2wawAWy6hiGQ==
Thread-topic: [Xen-devel] several Qs about domain live migration
User-agent: Microsoft-Entourage/11.4.0.080122


On 18/11/08 09:35, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:

> Keir,
> As my test, video mem and vlapic page are okay, but share page is
> still treated as ram.
> 
> After going through the source code, I think this should be "no harm".
> Although xc_domain_restore populate a new share page first, PV driver
> in HVM guest will remap share page when resume, thus destroying
> previous mapping and releasing previous page.
> 
> So we want to use this simple patch, or mark the share page "not ram"?

It's fine. The shared page mapping is not set up until after normal guest
memory is restored. So it's safe.

 -- Keir



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