[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] xen/iommu: fix usage of shared EPT/IOMMU page tables on PVH guests
El 09/03/15 a les 4.30, Tian, Kevin ha escrit: >> From: Roger Pau Monne [mailto:roger.pau@xxxxxxxxxx] >> 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.pau@xxxxxxxxxx> >> Cc: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx> >> Cc: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@xxxxxxx> >> Cc: Jan Beulich <jbeulich@xxxxxxxx> >> Cc: Yang Zhang <yang.z.zhang@xxxxxxxxx> >> Cc: Kevin Tian <kevin.tian@xxxxxxxxx> > > Acked-by: Kevin Tian <kevin.tian@xxxxxxxxx> > > 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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |