ia64/xen-unstable

changeset 3459:86a5dde2aef1

bitkeeper revision 1.1159.223.2 (41ed3b32oUZznRTHk1xuGyZVTcWuvg)

Get the domain to access from the right element of the union when setting up
VM assists.
author sos22@douglas.cl.cam.ac.uk
date Tue Jan 18 16:37:06 2005 +0000 (2005-01-18)
parents ed68fb045306
children 20b07fc026cd
files xen/common/dom0_ops.c
line diff
     1.1 --- a/xen/common/dom0_ops.c	Tue Jan 18 11:03:57 2005 +0000
     1.2 +++ b/xen/common/dom0_ops.c	Tue Jan 18 16:37:06 2005 +0000
     1.3 @@ -640,7 +640,7 @@ long do_dom0_op(dom0_op_t *u_dom0_op)
     1.4      {
     1.5          struct domain *d; 
     1.6          ret = -ESRCH;
     1.7 -        d = find_domain_by_id( op->u.setdomainmaxmem.domain );
     1.8 +        d = find_domain_by_id( op->u.setdomainvmassist.domain );
     1.9          if ( d != NULL )
    1.10          {
    1.11              vm_assist(d, op->u.setdomainvmassist.cmd,