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: [PATCH] Hypercall continuation cancelation in compat mod

To: Jan Beulich <JBeulich@xxxxxxxx>, Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target.
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Fri, 11 Nov 2011 08:54:55 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 11 Nov 2011 00:55:51 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=qI1Qem6cX+yqMPrllDRXvW82uuU5m8M9RYGj+iEUj7s=; b=O+XBFO2VeI7PWQ6MlRzaTWINhig0xTohmenTYjgsqgyYtNwt1m4Evzi170bJr4Nlrn ZOuKpLPzoa7W3QZB+TmMra4AOfxu5ZYMgJew/0ir2qwjiF01ZkB+O3H9RnUO+A0/2Kq8 YxjIL0JGbFgeB0KnysVzAWjrKdEjYlhnqHrO4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EBCED1A02000078000605BB@xxxxxxxxxxxxxxxxxxxx>
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: AcygT5UGJbb2mqR51E6Shjgl4QTTOA==
Thread-topic: [PATCH] Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target.
User-agent: Microsoft-Entourage/12.31.0.110725
On 11/11/2011 08:38, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

>>>> On 10.11.11 at 18:17, Jean Guyader <jean.guyader@xxxxxxxxxxxxx> 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 <jean.guyader@xxxxxxxxxxxxx>
> 
> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> (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 <keir@xxxxxxx>

>> ---
>>  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(-)
> 
> 
> 



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