ia64/xen-unstable

changeset 13917:d44eb9e7f97b

Another domctl fix to insert missing copy_to_guest.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
author kfraser@localhost.localdomain
date Wed Feb 14 15:54:47 2007 +0000 (2007-02-14)
parents 6fd71faaaa3b
children 3f63c1825b0d
files xen/arch/x86/domctl.c
line diff
     1.1 --- a/xen/arch/x86/domctl.c	Wed Feb 14 14:47:05 2007 +0000
     1.2 +++ b/xen/arch/x86/domctl.c	Wed Feb 14 15:54:47 2007 +0000
     1.3 @@ -412,6 +412,9 @@ long arch_do_domctl(
     1.4  
     1.5          ret = 0;
     1.6          put_domain(d);
     1.7 +
     1.8 +        if ( copy_to_guest(u_domctl, domctl, 1) )
     1.9 +            ret = -EFAULT;
    1.10      }
    1.11      break;
    1.12