We have verified VT-d2 features works with PCI passthrough on KVM. To enable
it, you need to turn on interrupt remapping in kernel config.
Interrupt remapping is a security/isolation feature where interrupt delivery is
qualified with device's bus/device/function in interrupt remapping table
, May 14, 2009 4:12 PM
To: Kay, Allen M
Cc: kvm@vger.kernel.org
Subject: RE: KVM VT-d2?
I thought that one use case of VT-d2 interrupt remapping was to be able to
safely and more efficiently deliver interrupts to the CPU that runs the
particular VCPU of the guest that owns the I/O device
Following four patches contains changes for enabling VT-d PCI
passthrough. The patches are located at:
git.kernel.org/pub/scm/linux/kernel/git/amit/kvm.git vtd
I have incorporated most of the feedbacks from the last RFC submission.
It was tested with passthrough an E1000 NIC to a linux guest
move intel-iommu.h and iova.h from drivers/pci to include/linux as they
are now need by kvm files.
Signed-off-by: Allen M. Kay [EMAIL PROTECTED]
intel_iommu_move.patch
Description: intel_iommu_move.patch
Modification to intel-iommu.c to support vt-d page table and context
table mapping in kvm. Mods to dmar.c and iova.c are due to header file
moves to include/linux.
Signed-off-by: Allen M. Kay [EMAIL PROTECTED]
intel_iommu_mods.patch
Description: intel_iommu_mods.patch
vt-d hooks in generic KVM sources for mapping guest memory with vt-d
page table.
Signed-off-by: Allen M. Kay [EMAIL PROTECTED]
kvm_generic.patch
Description: kvm_generic.patch
vt-d specific files in KVM for contructing vt-d page tables and
programming vt-d context entries.
Signed-off-by: Allen M. Kay [EMAIL PROTECTED]
kvm_vtd.patch
Description: kvm_vtd.patch