]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:34 +0000 (09:08 -0700)
commit6a84dfcbf56eab7955b607e22696cb145e019f20
tree55c125dfa079d15faaeb7c24a6a2de9bbdd19276
parentf9153f95f2b5a1a90b81c746342bed9d40dc9ae0
KVM: VMX: fix nested vpid for old KVM guests

commit ef697a712a6165aea7779c295604b099e8bfae2e upstream.

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
Fixes: 99b83ac893b84ed1a62ad6d1f2b6cc32026b9e85
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c