[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.



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

> ---
>  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®.