[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/vtd: fix iommu_share_p2m_table
>>> On 08.10.18 at 12:14, <roger.pau@xxxxxxxxxx> wrote: > --- a/xen/drivers/passthrough/iommu.c > +++ b/xen/drivers/passthrough/iommu.c > @@ -505,7 +505,7 @@ int iommu_do_domctl( > > void iommu_share_p2m_table(struct domain* d) > { > - if ( iommu_use_hap_pt(d) ) > + if ( iommu_enabled && hap_enabled(d) && iommu_hap_pt_share ) Considering the only caller, the hap_enabled() part is (and was) not needed here. I also would prefer to see a comment attached here, to (briefly) explain why this can't be iommu_use_hap_pt(). Is this what Wei also has found to break his PVH Dom0? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |