]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: SVM: Handle MCEs early in the vmexit process
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 17 May 2010 12:43:34 +0000 (14:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:05 +0000 (10:30 -0700)
commitddf9c303ea76f8d14a798eb54cdf6ebe6b105362
tree2e96243bb019e550aa63e296f4f99317552ca3e0
parent2ed988589dc2ef2e952d6f9f2f588e9372493dbd
KVM: SVM: Handle MCEs early in the vmexit process

This patch moves handling of the MC vmexits to an earlier
point in the vmexit. The handle_exit function is too late
because the vcpu might alreadry have changed its physical
cpu.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
(cherry picked from commit fe5913e4e1700cbfc337f4b1da9ddb26f6a55586)
arch/x86/kvm/svm.c