From: Jan Beulich Date: Thu, 31 May 2012 08:18:52 +0000 (+0200) Subject: passthrough: fix xsm-related oversight X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8370 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc093079b1121d0b21db608acf0a90cee78d8455;p=xen.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;