KVM: nVMX: Check all exceptions for intercept during delivery to L2
authorGleb Natapov <gleb@redhat.com>
Wed, 25 Sep 2013 09:51:35 +0000 (12:51 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Sep 2013 07:14:24 +0000 (09:14 +0200)
commite011c663b9c786d115c0f45e5b0bfae0c39428d4
tree1900293a084b8b8490a1affe65fcd9059c953ec2
parent851eb6677cb14f7fada8735041b12f5add0c247e
KVM: nVMX: Check all exceptions for intercept during delivery to L2

All exceptions should be checked for intercept during delivery to L2,
but we check only #PF currently. Drop nested_run_pending while we are
at it since exception cannot be injected during vmentry anyway.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
[Renamed the nested_vmx_check_exception function. - Paolo]
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c