Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target
authorJean Guyader <jean.guyader@eu.citrix.com>
Fri, 11 Nov 2011 09:14:22 +0000 (10:14 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Fri, 11 Nov 2011 09:14:22 +0000 (10:14 +0100)
commitf4038d2b7cdc421d242387351425f8e0efe7a095
treec248a61cb1be3eebcb4794c346768ba7d39b647e
parente448617ff9b0cda46578437d0722b3377aa3877f
Hypercall continuation cancelation in compat mode for XENMEM_get/set_pod_target

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@eu.citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain.c
xen/arch/x86/x86_64/compat/mm.c
xen/include/xen/sched.h