KVM: nVMX: Don't advertise single context invalidation for invept
authorBandan Das <bsd@redhat.com>
Sat, 19 Apr 2014 22:17:44 +0000 (18:17 -0400)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 22 Apr 2014 21:41:28 +0000 (18:41 -0300)
commit4b855078601fc422dbac3059f2215e776f49780f
treeebfe3a80b4a4d7f734aed8e82d64096be895571c
parentfd2a445a94d2ab6b39fb623dc02fee48d01a565a
KVM: nVMX: Don't advertise single context invalidation for invept

For single context invalidation, we fall through to global
invalidation in handle_invept() except for one case - when
the operand supplied by L1 is different from what we have in
vmcs12. However, typically hypervisors will only call invept
for the currently loaded eptp, so the condition will
never be true.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c