Re: [Xen-devel] [PATCH] xen/passthrough: share_p2m: fix build failure on ARM

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 11:23 +, Julien Grall wrote: > The commit 7978429 "iommu: fix usage of shared EPT/IOMMU page tables on > PVH guests" breaks the hypervisor compilation on ARM. > > This is because the macro hap_enabled is not defined on ARM. > > On x86, the P2M can only be shared when hap

[Xen-devel] [PATCH] xen/passthrough: share_p2m: fix build failure on ARM

2015-03-11 Thread Julien Grall
The commit 7978429 "iommu: fix usage of shared EPT/IOMMU page tables on PVH guests" breaks the hypervisor compilation on ARM. This is because the macro hap_enabled is not defined on ARM. On x86, the P2M can only be shared when hap is enabled and the user didn't deny it (via the command line). Tho