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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target.
From: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Date: Thu, 10 Nov 2011 17:17:43 +0000
Cc: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>, JBeulich@xxxxxxxx
Delivery-date: Thu, 10 Nov 2011 09:29:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
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>
---
 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(-)

Attachment: 0001-Hypercall-continuation-cancelation-in-compat-mode-fo.patch
Description: Text Data

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