KVM: VMX: fix nested vpid for old KVM guests
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Mar 2016 15:58:38 +0000 (16:58 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Mar 2016 11:02:46 +0000 (12:02 +0100)
commitef697a712a6165aea7779c295604b099e8bfae2e
treefccfb59fd752849a51237c44b4eef6e6c978024a
parentf6870ee9e53430f2a318ccf0dd5e66bb46194e43
KVM: VMX: fix nested vpid for old KVM guests

Old KVM guests invoke single-context invvpid without actually checking
whether it is supported.  This was fixed by commit 518c8ae ("KVM: VMX:
Make sure single type invvpid is supported before issuing invvpid
instruction", 2010-08-01) and the patch after, but pre-2.6.36
kernels lack it including RHEL 6.

Reported-by: jmontleo@redhat.com
Tested-by: jmontleo@redhat.com
Cc: stable@vger.kernel.org
Fixes: 99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c