]> git.baikalelectronics.ru Git - kernel.git/commit
KVM/VMX: Check ept_pointer before flushing ept tlb
authorLan Tianyu <Tianyu.Lan@microsoft.com>
Thu, 6 Dec 2018 07:34:36 +0000 (15:34 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 17:00:02 +0000 (18:00 +0100)
commit814b77770563aa7e92496ac4ef287738ae1767ee
tree8c7a8e61c15a2fd0695caeb3acd8f2f432cb37ba
parentfb528fccb9fa1c4e2e5a04da9d8d523a2fff66d6
KVM/VMX: Check ept_pointer before flushing ept tlb

This patch is to initialize ept_pointer to INVALID_PAGE and check it
before flushing ept tlb. If ept_pointer is invalid, bypass the flush
request.

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