]> git.baikalelectronics.ru Git - kernel.git/commit
VT-d: fix invalid domain id for KVM context flush
authorYu Zhao <yu.zhao@intel.com>
Fri, 8 May 2009 02:33:38 +0000 (10:33 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 10 May 2009 14:55:09 +0000 (15:55 +0100)
commita379833631d22d48629cba0b50e49fc03951ab04
tree21287f8aaf7bf444f43b041f45e47a29a9203d4d
parentf8b26c595485b834ac853a39b2eb180b50f2aa7c
VT-d: fix invalid domain id for KVM context flush

The domain->id is a sequence number associated with the KVM guest
and should not be used for the context flush. This patch replaces
the domain->id with a proper id value for both bare metal and KVM.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Acked-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c