El 09/03/15 a les 4.30, Tian, Kevin ha escrit: >> From: Roger Pau Monne [mailto:roger....@citrix.com] >> Sent: Friday, February 27, 2015 7:34 PM >> >> iommu_share_p2m_table should not prevent PVH guests from using a shared >> page >> table between the IOMMU and EPT. Clean the code by removing the asserts in >> the vendor specific implementations (amd_iommu_share_p2m, >> iommu_set_pgd), >> and moving the hap_enabled assert to the caller (iommu_share_p2m_table). >> >> Also fix another incorrect usage of is_hvm_domain usage in >> arch_iommu_populate_page_table. This has not given problems so far >> because >> all the pages in PVH guests are of type PGT_writable_page. >> >> Signed-off-by: Roger Pau Monné <roger....@citrix.com> >> Cc: Suravee Suthikulpanit <suravee.suthikulpa...@amd.com> >> Cc: Aravind Gopalakrishnan <aravind.gopalakrish...@amd.com> >> Cc: Jan Beulich <jbeul...@suse.com> >> Cc: Yang Zhang <yang.z.zh...@intel.com> >> Cc: Kevin Tian <kevin.t...@intel.com> > > Acked-by: Kevin Tian <kevin.t...@intel.com> > > btw, does this patch fix your earlier iommu faults with PVH Dom0?
Yes, it fixes booting a PVH Dom0 on hosts that share the page tables between EPT and the IOMMU(s). Roger. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel