commit | 71ff3bca2f70264effe8cbbdd5bc10cf6be5f2f0 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Mon Jun 08 13:47:33 2009 -0700 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Tue Jun 09 11:14:14 2009 +0200 |
tree | 0930054b71a0d674d71ea05d7575e4a7efac7bf3 | |
parent | 29150078d7a1758df8c7a6cd2ec066ac65e1fab9 [diff] |
amd-iommu: detach device explicitly before attaching it to a new domain This fixes a bug with a device that could not be assigned to a KVM guest because it is still assigned to a dma_ops protection domain. [chrisw: simply remove WARN_ON(), will always fire since dev->driver will be pci-sub] Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>