This bug was fixed in "changeset 25432:d7318231cfe3" but the code was
moved to a different file and patch fixes that file. The following
patch is for xen-4.1-testing.hg.
diff -r 3ce155e77f39 xen/arch/x86/domctl.c
--- 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;
Apparently Analagous Threads
- Intel VGA-passthrough to Ubuntu12.04 64bit Dom-U doesn't work
- [PATCH v7 1/2] xen: unify domain locking in domctl code
- [PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
- [PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
- [PATCH 2/2] qemu-kvm: use common code for assigned msix
