KVM: nVMX: Skip PF interception check when queuing during nested run
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 28 Apr 2013 07:24:41 +0000 (09:24 +0200)
committerGleb Natapov <gleb@redhat.com>
Sun, 28 Apr 2013 10:34:39 +0000 (13:34 +0300)
commit5a2892ce72e010e3cb96b438d7cdddce0c88e0e6
tree3d17f682c5eaea2948be4cd156b0fc028d1230e9
parentcbf64358588ae45dcf0207dbc97fba783577d64a
KVM: nVMX: Skip PF interception check when queuing during nested run

While a nested run is pending, vmx_queue_exception is only called to
requeue exceptions that were previously picked up via
vmx_cancel_injection. Therefore, we must not check for PF interception
by L1, possibly causing a bogus nested vmexit.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/vmx.c