Skip to contentSkip to conversation

passthrough: fix xsm-related oversight

PATCH In review Jan Beulich 2 participants 2 messages May 31, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

xen/drivers/passthrough/iommu.c +1 -1
@@ -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;
 

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.

xen/drivers/passthrough/iommu.c +1 -1
@@ -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;
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jan Beulich

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

Quoted 18 lines
xen/drivers/passthrough/iommu.c +1 -1
@@ -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;
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel