>>> On 07.08.18 at 12:00, <wei.l...@citrix.com> wrote: > This function is common to both PV and HVM. Move it to x86 common > code.
I'm afraid that's the wrong way round: p2m_memory_type_changed() is HVM (in fact EPT) specific. The only uses of the function that aren't already HVM-specific are from domctl.c and from iommu_construct(), yet I doubt the flush_all(FLUSH_CACHE) has any relevance there in the PV case. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel