KVM: SVM: complete interrupts after handling nested exits
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:32 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:24 +0000 (08:33 +0300)
commita5c3832dfe6324862b4fd1d90831266b15d4b58e
tree36dc538bbc918a12d91195562949c2d30d485ee0
parent0460a979b4b7a564e59eaa8efbba6f5ae38c5b78
KVM: SVM: complete interrupts after handling nested exits

The interrupt completion code must run after nested exits are handled
because not injected interrupts or exceptions may be handled by the l1
guest first.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c