Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 62c476c7 authored by Ben-Ami Yassour's avatar Ben-Ami Yassour Committed by Avi Kivity
Browse files

KVM: Device Assignment with VT-d



Based on a patch by: Kay, Allen M <allen.m.kay@intel.com>

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.

[Amit: Expose KVM_CAP_IOMMU so we can check if an IOMMU is present
and also control enable/disable from userspace]

Signed-off-by: default avatarKay, Allen M <allen.m.kay@intel.com>
Signed-off-by: default avatarWeidong Han <weidong.han@intel.com>
Signed-off-by: default avatarBen-Ami Yassour <benami@il.ibm.com>
Signed-off-by: default avatarAmit Shah <amit.shah@qumranet.com>

Acked-by: default avatarMark Gross <mgross@linux.intel.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 38717946
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment