Hi, VMX maintainers,

I was looking at the nested EPT code while following up on Ed's email
about altp2m design, and I can't see where nested-EPT entries get
removed when a host EPT entry is removed/changed.

On nested NPT, this is handled in hap_write_p2m_entry(), which
detects that the domain has nested p2ms and calls
p2m_flush_nestedp2m() if necessary.

But nested EPT doesn't use the ->write_p2m_entry() hook to update
entries, it uses atomic_write_ept_entry() instead.  AFAICS the only
flushing done on that path is ept_sync_domain(), which doesn't do
anything about nested p2ms.

Am I forgetting something?

Cheers,

Tim.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to