KVM: Replace pending exception by PF if it happens serially
authorGleb Natapov <gleb@redhat.com>
Thu, 11 Jun 2009 08:26:11 +0000 (11:26 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:56 +0000 (08:32 +0300)
commit6edf14d8d0df144d6928799040f46fa37b5460ae
tree521ba25839ba2a4f0d438baf50a568c714292cce
parent54dee9933e8d93589ad63ec3d6be39f1921b0767
KVM: Replace pending exception by PF if it happens serially

Replace previous exception with a new one in a hope that instruction
re-execution will regenerate lost exception.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c