* [PATCH] passthrough: fix xsm-related oversight
@ 2012-05-31 6:20 Jan Beulich
2012-05-31 8:03 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2012-05-31 6:20 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
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>
--- 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;
[-- Attachment #2: xsm-deassign-device.patch --]
[-- Type: text/plain, Size: 601 bytes --]
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>
--- 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;
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] passthrough: fix xsm-related oversight
2012-05-31 6:20 [PATCH] passthrough: fix xsm-related oversight Jan Beulich
@ 2012-05-31 8:03 ` Keir Fraser
0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2012-05-31 8:03 UTC (permalink / raw)
To: Jan Beulich, xen-devel
On 31/05/2012 07:20, "Jan Beulich" <JBeulich@suse.com> wrote:
> 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>
> --- 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;
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-31 8:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31 6:20 [PATCH] passthrough: fix xsm-related oversight Jan Beulich
2012-05-31 8:03 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.