From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jiang, Yunhong" Subject: RE: Re: [PATCH] Support swap a page from user spacetools -- Was RE: [RFC][PATCH] Basic support for page offline Date: Fri, 20 Mar 2009 18:05:10 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , Jan Beulich Cc: Tim Deegan , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Yes, I'm working on that in fact. -- yhj Keir Fraser wrote: > On 20/03/2009 09:59, "Jiang, Yunhong" wrote: >=20 >>>>> Since the guest is suspended, would that matter? Any I/Os that were i= n >>>>> flight on suspend will get resubmitted on resume. So the potential ra= ces >>>>> might all be benign. >>>>=20 >>>> I think it may not be resubmited. Backend may have no idea at all if t= he >>>> guest is resume quickly, I remember. Or maybe I miss understand the >>>> interface between backend/frontend.. >>>=20 >>> Ah, you do a suspend-cancel/fast-resume? >>=20 >> Yes, that's suggested by Tim and I think that's meet our purpose quite >> well.=20 >=20 > 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= ? >=20 > -- Keir=