Added some iommu_map_page()/iommu_unmap_page() calls Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
- if ( iommu_enabled && is_hvm_domain(d) ) + if ( iommu_enabled && (is_hvm_domain(d) || need_iommu(d)) ) I thought PV guests don''t have p2m page table. Why do you need to modify set_p2m_entry() for VT-d PV guest support? Allen _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Espen Skoglund
2008-May-20 14:16 UTC
RE: [Xen-devel] [PATCH 4/5] VT-d support for PV guests
[Allen M Kay]> - if ( iommu_enabled && is_hvm_domain(d) ) > + if ( iommu_enabled && (is_hvm_domain(d) || need_iommu(d)) )> I thought PV guests don''t have p2m page table. Why do you need to > modify set_p2m_entry() for VT-d PV guest support?If only HVM guests have a p2m page table then why was the is_hvm_domain() check there is the first place? Can''t you also have PV guests with shadow page tables, and don''t such guests also use p2m? I haven''t looked into shadow PT support, so I would really like to have an answer on this one. eSk _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel