From: Han, Weidong Date: Thu, 26 Feb 2009 09:31:12 +0000 (+0800) Subject: intel-iommu: fix PCI device detach from virtual machine X-Git-Tag: v2.6.30-rc1~228^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3199aa6bc8766e17b8f60820c4f78d59c25fce0e;p=pandora-kernel.git intel-iommu: fix PCI device detach from virtual machine When assign a device behind conventional PCI bridge or PCIe to PCI/PCI-x bridge to a domain, it must assign its bridge and may also need to assign secondary interface to the same domain. Dependent assignment is already there, but dependent deassignment is missed when detach device from virtual machine. This results in conventional PCI device assignment failure after it has been assigned once. This patch addes dependent deassignment, and fixes the issue. Signed-off-by: Weidong Han Signed-off-by: David Woodhouse --- Reading git-diff-tree failed