xcp-1.6-updates/xen-4.1.hg

changeset 23321:a1087bfe2c5c

passthrough: fix xsm-related oversight

Presumably a copy-and-paste mistake, which I also didn't notice while
unifying x86's and ia64's respective domctl implementations.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen-unstable changeset: 25432:d7318231cfe3
xen-unstable date: Thu May 31 10:18:52 2012 +0200
author Jan Beulich <jbeulich@suse.com>
date Thu Jul 19 15:49:19 2012 +0100 (2012-07-19)
parents 3ce155e77f39
children 5cdcfed7b5b1
files xen/arch/x86/domctl.c
line diff
     1.1 --- a/xen/arch/x86/domctl.c	Mon Jul 09 10:30:44 2012 +0100
     1.2 +++ b/xen/arch/x86/domctl.c	Thu Jul 19 15:49:19 2012 +0100
     1.3 @@ -873,7 +873,7 @@ long arch_do_domctl(
     1.4              break;
     1.5          }
     1.6  
     1.7 -        ret = xsm_assign_device(d, domctl->u.assign_device.machine_bdf);
     1.8 +        ret = xsm_deassign_device(d, domctl->u.assign_device.machine_bdf);
     1.9          if ( ret )
    1.10              goto deassign_device_out;
    1.11