KVM: VMX: Avoid duplicate ept tlb flush when setting cr3
commit2d84e993a8947dbeb6b416555940d97522330846
authorAvi Kivity <avi@redhat.com>
Sun, 31 May 2009 15:29:59 +0000 (31 18:29 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:46 +0000 (10 08:32 +0300)
treef12cc749054847b4ee17c61144f446466e433ea0
parent6b66ac1ae3328177305a2600eb85b7446f41fdc9
KVM: VMX: Avoid duplicate ept tlb flush when setting cr3

vmx_set_cr3() will call vmx_tlb_flush(), which will flush the ept context.
So there is no need to call ept_sync_context() explicitly.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c