]> git.karo-electronics.de Git - linux-beck.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)
commitfa3b6dcd5298db2e7b63c17795c9e5570d3df8d9
tree21287f8aaf7bf444f43b041f45e47a29a9203d4d
parentaed5d5f4c5ea5da01a774e42cff08c4b4fa59072
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