KVM: SVM: Handle MCEs early in the vmexit process
commit4d2e11d122c66cd284881c3442efb4f41c1ffe5c
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 17 May 2010 12:43:34 +0000 (17 14:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:21:23 +0000 (2 10:21 -0700)
tree2b0a632489e50afcc5c28c5820e2e7ccdd278d2d
parent57b8799a75fca910443b5fcc645b091d30aac5db
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