iommu: Make sure a device is always attached to a domain
authorJoerg Roedel <jroedel@suse.de>
Thu, 28 May 2015 16:41:31 +0000 (18:41 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 9 Jun 2015 06:55:22 +0000 (08:55 +0200)
Make use of the default domain and re-attach a device to it
when it is detached from another domain. Also enforce that a
device has to be in the default domain before it can be
attached to a different domain.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c

Simple merge