iommu/vt-d: Use correct domain id to flush virtual machine domains
authorJiang Liu <jiang.liu@linux.intel.com>
Fri, 11 Jul 2014 06:19:26 +0000 (14:19 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 23 Jul 2014 14:04:46 +0000 (16:04 +0200)
commit18fd779a41eff52b597bd2d327194f98a83de4af
tree36064561ba498644e21bc169fa353dc9da4efcd0
parentc3b497c6bb51a2be1173cbf1d1ef4ce5e88e722e
iommu/vt-d: Use correct domain id to flush virtual machine domains

For virtual machine domains, domain->id is a virtual id, and the real
domain id written into context entry is dynamically allocated.
So use the real domain id instead of domain->id when flushing iotlbs
for virtual machine domains.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c
This page took 0.02868 seconds and 5 git commands to generate.