]> git.baikalelectronics.ru Git - kernel.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)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Mar 2016 11:02:46 +0000 (12:02 +0100)
commita0283f851336e90de211789b3948dfb15b730e03
treefccfb59fd752849a51237c44b4eef6e6c978024a
parent9dfe29a772a5c40f41e1890dbda4874cea5a3a9d
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 46b7a19 ("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: 6144b23580ddad305779d36428d38e1969d2e6f1
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c