[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/5] VT-d support for PV guests
Hi, I've added some preliminary support for VT-d for paravirtualized guests. This must be enabled using an 'iommu_pv' boot parameter (disabled by default). I've added some python bindigs to allow xend to assign PCI devices to IOMMU for PV guests. For HVM guests this is handled in ioemu. Not sure if it makes sense to handle both cases in one place. The changes currently hook into get_page_type() in xen/arch/x86/mm.c to map/unmap IOMMU pages when the page types change. This might not be the apropriate place to hook these calls. The patches I've added are as follows: xen-vtd-unmap.patch --- Make the VT-d iommu_unmap_page() code actually do something close to useful. xen-ptab-dump.path --- There's no point in using 'current' when an IOMMU page fault is raised. Also, add some page type statistics for DomPage debug output. xen-iommu-pv.patch --- Add support for iommu_pv_enable boot parameter and IOMMU assignment of PCI devices to guests. xen-iommu-pv-mappings.patch --- Hook iommu_{un}map_page() calls into various Xen locations. xen-pv-assign.patch --- Allow PCI devices to be assigned to IOMMU PV guests from xend. While adding the PV VT-d support I also noticed that there is a lot of duplicated and unused code dealing with VT-d. This really needs to be cleaned up properly. I don't know if the original VT-d submitters already have made plans for doing this. eSk _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |