VT-d support for PV guests
PATCH 4/5 VT-d support for PV guests
Added some iommu_map_page()/iommu_unmap_page() calls
_______________________________________________
Xen-devel mailing list
[email protected]
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
[Allen M Kay]
Quoted 5 lines
(quoted diff) +1
-1- 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