]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: nVMX: Fix erroneous exception bitmap check
authorNadav Har'El <nyh@math.technion.ac.il>
Tue, 6 Mar 2012 14:39:22 +0000 (16:39 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 12:14:23 +0000 (14:14 +0200)
commit9587190107d0c0cbaccbf7bf6b0245d29095a9ae
tree22fe97d0bc4df730d7775d9590faccb13d86193b
parenta223c313cb13e9ab71051fc5b70610a2829a4082
KVM: nVMX: Fix erroneous exception bitmap check

The code which checks whether to inject a pagefault to L1 or L2 (in
nested VMX) was wrong, incorrect in how it checked the PF_VECTOR bit.
Thanks to Dan Carpenter for spotting this.

Signed-off-by: Nadav Har'El <nyh@il.ibm.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c