Skip to contentSkip to conversation

VT-d support for PV guests

PATCH In review Espen Skoglund 2 participants 3 messages May 19, 2008 – May 20, 2008

lore
Share & tools
lore
#1 lore raw

- 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

#2 lore raw

[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