iommu/vt-d: Set domain type for a private domain
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 12 Jun 2019 00:28:46 +0000 (08:28 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Jun 2019 08:36:59 +0000 (10:36 +0200)
commitc57b260a7d7d60dfbcf794dd9836c1d9fdbf5434
tree7d30373dd97e393c3565e27f010138c6c3960517
parentf4c63ea91c6f6d9a1a3062071ff6cc4910ebb8a9
iommu/vt-d: Set domain type for a private domain

Otherwise, domain_get_iommu() will be broken.

Fixes: 942067f1b6b97 ("iommu/vt-d: Identify default domains replaced with private")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c