[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 6/9] x86: move memory_type_changed to mm.c



>>> On 07.08.18 at 12:00, <wei.liu2@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.