nvmx: mark ept single context invalidation as supported
authorBandan Das <bsd@redhat.com>
Tue, 2 Aug 2016 20:32:36 +0000 (16:32 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Aug 2016 12:21:52 +0000 (14:21 +0200)
commit45e11817d5703eceb65a673927a8bc74dc1286d6
tree42872b3c91ed362feb1bb07fa71a0082aad37c77
parent03331b4b8bd1f0fef34539afa6bb6c45ec25c47b
nvmx: mark ept single context invalidation as supported

Commit 4b855078601f ("KVM: nVMX: Don't advertise single
context invalidation for invept") removed advertising
single context invalidation since the spec does not mandate it.
However, some hypervisors (such as ESX) require it to be present
before willing to use ept in a nested environment. Advertise it
and fallback to the global case.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c