]> 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)
commitfb484d26ab48ebb1b3be81dab2c5352d7db50293
treeebfe3a80b4a4d7f734aed8e82d64096be895571c
parent42bc65f2a740c98fc8970a21c2d45ab4abc3dbb9
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