[Xen-devel] [PATCH] x86: hap_enabled() is HVM-only

2018-09-27 Thread Jan Beulich
There at least two cases where the field so far got accessed for PV guests as well: One is in iommu_construct(), via iommu_use_hap_pt(), and the other is arch_domain_create() -> paging_domain_init() -> p2m_init() -> p2m_init_hostp2m() -> p2m_init_one() -> p2m_initialis

Re: [Xen-devel] [PATCH] x86: hap_enabled() is HVM-only

2018-09-27 Thread Andrew Cooper
On 27/09/18 16:30, Jan Beulich wrote: > There at least two cases where the field so far got accessed for PV > guests as well: One is in iommu_construct(), via iommu_use_hap_pt(), > and the other is > arch_domain_create() > -> paging_domain_init() >-> p2m_init() > -> p2m_init_hostp2m() >