kvm: external module: Fix build for VT-d/AMD IOMMU
commita55b2ae32444fbbd050c511184fc7219dd4e3f0b
authorSheng Yang <sheng@linux.intel.com>
Wed, 21 Jan 2009 06:33:00 +0000 (21 14:33 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 22 Jan 2009 12:03:17 +0000 (22 14:03 +0200)
tree6c735a3adc2060ad212b71655def85c105f7fe07
parent1b4f3f04cceba9c40011234b73cdb242eee3c3d6
kvm: external module: Fix build for VT-d/AMD IOMMU

The vtd.c has renamed to iommu.c, and config option has changed to
CONFIG_IOMMU_API.

Notice now the host kernel before 2.6.29 can't work with VT-d due to API
changed... At least this patch enabled building with host kernel before 2.6.29
with CONFIG_DMAR.

Signed-off-by: Wei Huang <wei.w.huang@intel.com>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
kvm/kernel/ia64/Kbuild
kvm/kernel/x86/Kbuild