23 lines
675 B
Diff
23 lines
675 B
Diff
|
# HG changeset patch
|
||
|
# User kfraser@localhost.localdomain
|
||
|
# Date 1171468487 0
|
||
|
# Node ID d44eb9e7f97b05d648dc8b0d614ffb32df667354
|
||
|
# Parent 6fd71faaaa3b00250d65879750e4350b79bf0060
|
||
|
Another domctl fix to insert missing copy_to_guest.
|
||
|
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
|
||
|
|
||
|
Index: xen-3.0.4-testing/xen/arch/x86/domctl.c
|
||
|
===================================================================
|
||
|
--- xen-3.0.4-testing.orig/xen/arch/x86/domctl.c
|
||
|
+++ xen-3.0.4-testing/xen/arch/x86/domctl.c
|
||
|
@@ -332,6 +332,9 @@ _long arch_do_domctl(
|
||
|
|
||
|
ret = 0;
|
||
|
put_domain(d);
|
||
|
+
|
||
|
+ if ( copy_to_guest(u_domctl, domctl, 1) )
|
||
|
+ ret = -EFAULT;
|
||
|
}
|
||
|
break;
|
||
|
|