On Tue, Sep 16, 2008 at 11:18:30AM -0700, Avi Kivity wrote:
> Laurent Vivier wrote:
>>> @@ -1147,6 +1157,9 @@ int kvm_dev_ioctl_check_extension(long ext)
>>> case KVM_CAP_PV_MMU:
>>> r = !tdp_enabled;
>>> break;
>>> + case KVM_CAP_IOMMU:
>>> + r = intel_iommu
Laurent Vivier wrote:
@@ -1147,6 +1157,9 @@ int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_PV_MMU:
r = !tdp_enabled;
break;
+ case KVM_CAP_IOMMU:
+ r = intel_iommu_found();
+ break;
Must depend on CONFIG_DM
Le mardi 16 septembre 2008 à 00:58 +, Avi Kivity a écrit :
> From: Ben-Ami Yassour <[EMAIL PROTECTED]>
>
> Based on a patch by: Kay, Allen M <[EMAIL PROTECTED]>
>
> This patch enables PCI device assignment based on VT-d support.
> When a device is assigned to the guest, the guest memory is pi
Based on a patch by: Kay, Allen M <[EMAIL PROTECTED]>
This patch enables PCI device assignment based on VT-d support.
When a device is assigned to the guest, the guest memory is pinned and
the mapping is updated in the VT-d IOMMU.
Signed-off-by: Kay, Allen M <[EMAIL PROTECTED]>
Signed-off-by: Wei