]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: vmx: Don't use INVVPID when EPT is enabled
authorJim Mattson <jmattson@google.com>
Wed, 15 Mar 2017 14:56:11 +0000 (07:56 -0700)
committerRadim Krčmář <rkrcmar@redhat.com>
Fri, 7 Apr 2017 14:49:00 +0000 (16:49 +0200)
commit9587292e95bc3d033699dba114b6eae51a298aba
tree9aaa814536c59e3449a171042678e3bcac77281b
parent85c1aa9b663104ebd327487664417c73ac465920
kvm: vmx: Don't use INVVPID when EPT is enabled

According to the Intel SDM, volume 3, section 28.3.2: Creating and
Using Cached Translation Information, "No linear mappings are used
while EPT is in use." INVEPT will invalidate both the guest-physical
mappings and the combined mappings in the TLBs and paging-structure
caches, so an INVVPID is superfluous.

Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c