nestedhvm: do not send IPIs twice
authorTim Deegan <tim@xen.org>
Fri, 19 Aug 2011 12:29:25 +0000 (13:29 +0100)
committerTim Deegan <tim@xen.org>
Fri, 19 Aug 2011 12:29:25 +0000 (13:29 +0100)
In p2m_get_nestedp2m() there is no need to send IPIs via
nestedhvm_vmcx_flushtlb() since p2m_flush_table() already
did that.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m.c

index 8ac4c4a6b284869894f970038617bfb5ea91bcbb..26e53e74b15dd8cc10edac058a9b3c7e9d478a9a 100644 (file)
@@ -1164,7 +1164,6 @@ p2m_get_nestedp2m(struct vcpu *v, uint64_t cr3)
     p2m->cr3 = cr3;
     nv->nv_flushp2m = 0;
     hvm_asid_flush_vcpu(v);
-    nestedhvm_vmcx_flushtlb(p2m);
     cpu_set(v->processor, p2m->p2m_dirty_cpumask);
     p2m_unlock(p2m);
     nestedp2m_unlock(d);