KVM: SVM: Fix schedule-while-atomic on nested exception handling
commitc9c1db0b5210916c6bba2fab84537bbeb26a4bf3
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Feb 2010 15:23:02 +0000 (19 16:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:57 +0000 (5 11:22 -0700)
tree50622fd94ed63f769e8a3ada1857d111b171cd77
parent6a8b016c48965066af329c154ca044417e4c8fe3
KVM: SVM: Fix schedule-while-atomic on nested exception handling

Move the actual vmexit routine out of code that runs with
irqs and preemption disabled.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
(Cherry-picked from commit b8e88bc8ffba5fe53fb8d8a0a4be3bbcffeebe56)
arch/x86/kvm/svm.c