From: Jan Beulich Date: Thu, 31 May 2012 08:18:52 +0000 (+0200) Subject: passthrough: fix xsm-related oversight X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c6cb302ef445454222bcf970c6b10978b3294540;p=people%2Fvhanquez%2Fxen-unstable.git 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 Acked-by: Keir Fraser --- diff --git a/xen/drivers/passthrough/iommu.c b/xen/drivers/passthrough/iommu.c index 8eba541d1a..64f5fd1b47 100644 --- a/xen/drivers/passthrough/iommu.c +++ b/xen/drivers/passthrough/iommu.c @@ -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;