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)
committerAvi Kivity <avi@redhat.com>
Wed, 9 Jun 2010 15:39:10 +0000 (18:39 +0300)
commitfe5913e4e1700cbfc337f4b1da9ddb26f6a55586
treefac7ecc398a41a9ffdb3d8b0dfe43a651c98ea28
parenta06cdb5676272a12056820aeb49a1416ad2d0c6f
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>
arch/x86/kvm/svm.c