Stop sending IPIs to flush the nested-on-nested pagetable
after write operations. Instead flush the TLB only.
This fixes an endless loop of nested page faults after
adding an entry to the nested-on-nested pagetable.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Committed-by: Tim Deegan <tim@xen.org>
old_flags = l1e_get_flags(*p);
safe_write_pte(p, new);
+
if (old_flags & _PAGE_PRESENT)
- nestedhvm_vmcx_flushtlb(p2m);
+ flush_tlb_mask(&p2m->p2m_dirty_cpumask);
paging_unlock(d);
}