]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit553dc424c2603bc6f1fd4087424cc8de286baeaa
treeebfe3a80b4a4d7f734aed8e82d64096be895571c
parent16f406b695e53258df3a027800aac33fb1ad7b50
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