aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-07-19 15:49:19 +0100
committerJan Beulich <jbeulich@suse.com>2012-07-19 15:49:19 +0100
commitea58a3c6cf23b59666b82d256979ae35e34aa09f (patch)
treeab610c1e38adfc5ad77db88763508d96938004b5
parentc1b91d411864378f4323cdafbecbd5e5d1a23083 (diff)
downloadxen-ea58a3c6cf23b59666b82d256979ae35e34aa09f.tar.gz
xen-ea58a3c6cf23b59666b82d256979ae35e34aa09f.tar.bz2
xen-ea58a3c6cf23b59666b82d256979ae35e34aa09f.zip
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> Acked-by: Keir Fraser <keir@xen.org> xen-unstable changeset: 25432:d7318231cfe3 xen-unstable date: Thu May 31 10:18:52 2012 +0200
-rw-r--r--xen/arch/x86/domctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c
index 502a7ab239..3b8c5645a7 100644
--- a/xen/arch/x86/domctl.c
+++ b/xen/arch/x86/domctl.c
@@ -873,7 +873,7 @@ long arch_do_domctl(
break;
}
- ret = xsm_assign_device(d, domctl->u.assign_device.machine_bdf);
+ ret = xsm_deassign_device(d, domctl->u.assign_device.machine_bdf);
if ( ret )
goto deassign_device_out;