]> xenbits.xensource.com Git - people/vhanquez/xen-unstable.git/commitdiff
passthrough: fix xsm-related oversight
authorJan Beulich <jbeulich@suse.com>
Thu, 31 May 2012 08:18:52 +0000 (10:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 31 May 2012 08:18:52 +0000 (10:18 +0200)
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/drivers/passthrough/iommu.c

index 8eba541d1ac6ee850a34dff0fbb362fab0605861..64f5fd1b4772ccfbf1c00f58b36e6a99bd7d5484 100644 (file)
@@ -625,7 +625,7 @@ int iommu_do_domctl(
             break;
         }
 
-        ret = xsm_assign_device(d, domctl->u.assign_device.machine_sbdf);
+        ret = xsm_deassign_device(d, domctl->u.assign_device.machine_sbdf);
         if ( ret )
             goto deassign_device_out;