KVM/VMX: Change hv flush logic when ept tables are mismatched.
authorLan Tianyu <Tianyu.Lan@microsoft.com>
Sat, 13 Oct 2018 14:54:05 +0000 (22:54 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:30:09 +0000 (00:30 +0200)
commita5c214dad1985092bd21c38c2a78befed9b02294
treec9a719af737eaade79d3589cefd627898a0d3c7e
parent44c2d667ce3fa6933ac30a726f148f0c6d84ce5f
KVM/VMX: Change hv flush logic when ept tables are mismatched.

If ept table pointers are mismatched, flushing tlb for each vcpus via
hv flush interface still helps to reduce vmexits which are triggered
by IPI and INEPT emulation.

Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c