From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target. Date: Fri, 11 Nov 2011 08:54:55 +0000 Message-ID: References: <4EBCED1A02000078000605BB@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EBCED1A02000078000605BB@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Jean Guyader Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 11/11/2011 08:38, "Jan Beulich" wrote: >>>> On 10.11.11 at 18:17, Jean Guyader wrote: > >> If copy_to_guest failed in the compat code after a continuation as been >> done in the native code we need to cancel it so we won't reexecute the >> hypercall but return from the hypercall with the appropriate error. >> >> Signed-off-by: Jean Guyader > > Acked-by: Jan Beulich > > (But I'd like to be certain that Keir also took a look at this before > committing, not the least because this also should go into 4.1-testing.) Looks okay to me. Acked-by: Keir Fraser >> --- >> xen/arch/x86/domain.c | 18 ++++++++++++++++++ >> xen/arch/x86/x86_64/compat/mm.c | 4 ++++ >> xen/include/xen/sched.h | 1 + >> 3 files changed, 23 insertions(+), 0 deletions(-) > > >