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

[Xen-devel] Re: The store and restore?

To: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: The store and restore?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 19 Jul 2005 07:01:26 +0100
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Andrew Warfield <Andrew.Warfield@xxxxxxxxxxxx>, Steven Hand <Steven.Hand@xxxxxxxxxxxx>, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Delivery-date: Tue, 19 Jul 2005 06:05:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1121551165.30271.116.camel@xxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D28248B@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1120215621.12232.16.camel@xxxxxxxxxxxxxxxxxxxxx> <20050701122303.GM8239@xxxxxxxxxxxx> <1120357975.12232.27.camel@xxxxxxxxxxxxxxxxxxxxx> <20050706180609.GG30443@xxxxxxxxxxxx> <1120676349.12218.29.camel@xxxxxxxxxxxxxxxxxxxxx> <20050712103224.GR30443@xxxxxxxxxxxx> <1121354713.30271.15.camel@xxxxxxxxxxxxxxxxxxxxx> <20050714175237.GY29384@xxxxxxxxxxxx> <1121551165.30271.116.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 16 Jul 2005, at 22:59, Rusty Russell wrote:

On restore, we need to create a new event channel and update the shared
page information for the store, AFAICT.

I'm not quite sure how this *should* be done.  Thoughts welcome, patch
below.

I'd pass the mfn to the guest in the start_info_t, instead of the va. The guest can easily calclulate the va, and it avoids grossness during save/restore (where you'd need to walk guest pagetables to properly recover the mfn).

'Canonicalise' start_info->store_mfn (turn into a pfn) during save, then uncanonicalise during restore.

 -- Keir


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

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