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] Re: [PATCH] Support swap a page from user spacetools --

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] Support swap a page from user spacetools -- Was RE: [RFC][PATCH] Basic support for page offline
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 20 Mar 2009 10:03:02 +0000
Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 20 Mar 2009 03:03:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E2263E4A5B2284449EEBD0AAB751098401CE2D1451@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AcmpP3CjhnZ885hGSnaaDBqeewsVlQAALt+iAABPuIAAAD0/agAABhggAAAlarQ=
Thread-topic: [Xen-devel] Re: [PATCH] Support swap a page from user spacetools -- Was RE: [RFC][PATCH] Basic support for page offline
User-agent: Microsoft-Entourage/12.15.0.081119
On 20/03/2009 09:59, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

>>>> Since the guest is suspended, would that matter? Any I/Os that were in
>>>> flight on suspend will get resubmitted on resume. So the potential races
>>>> might all be benign.
>>> 
>>> I think it may not be resubmited. Backend may have no idea at all if the
>>> guest is resume quickly, I remember. Or maybe I miss understand the
>>> interface between backend/frontend..
>> 
>> Ah, you do a suspend-cancel/fast-resume?
> 
> Yes, that's suggested by Tim and I think that's meet our purpose quite well.

Okay, then I suggest you extend XENMEM_exchange so that in.mem_flags can
tell that hypercall to copy data from old to new pages. XENMEMF_copy_data?

 -- Keir



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

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