From: Joerg Roedel Date: Mon, 8 Jun 2009 20:47:33 +0000 (-0700) Subject: amd-iommu: detach device explicitly before attaching it to a new domain X-Git-Tag: v2.6.31-rc1~408^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71ff3bca2f70264effe8cbbdd5bc10cf6be5f2f0;p=pandora-kernel.git 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 Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed