[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table

Currently VT-d page table shares with P2M table, this patch supports
separate VT-d page table. 
1) add an option (vtd_share) to control whether VT-d page table shares
with P2M table or not.
2) in p2m_set_entry(), map/unmap page in VT-d page table. And also add a
function to free VT-d page table when tear down. 
3) allocate extra memory for VT-d page table when allocate memory for

In addition, when VT-d page table shares with P2M table,  remove the if
conditional judgement for iommu_flush(). Or there is opential issue when
using balloon driver. 

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>

Attachment: vtd-sep.patch
Description: vtd-sep.patch

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.