[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target.


  • To: Jan Beulich <JBeulich@xxxxxxxx>, Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcygT5UGJbb2mqR51E6Shjgl4QTTOA==
  • Thread-topic: [PATCH] Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.