Skip to content

Commit fb56baa

Browse files
ubizjakbonzini
authored andcommitted
KVM: VMX: Enable machine check support for 32bit targets
There is no reason to limit the use of do_machine_check to 64bit targets. MCE handling works for both target familes. Cc: Paolo Bonzini <[email protected]> Cc: Sean Christopherson <[email protected]> Cc: [email protected] Fixes: a0861c0 ("KVM: Add VT-x machine check support") Signed-off-by: Uros Bizjak <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent f14eec0 commit fb56baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/vmx/vmx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4572,7 +4572,7 @@ static int handle_rmode_exception(struct kvm_vcpu *vcpu,
45724572
*/
45734573
static void kvm_machine_check(void)
45744574
{
4575-
#if defined(CONFIG_X86_MCE) && defined(CONFIG_X86_64)
4575+
#if defined(CONFIG_X86_MCE)
45764576
struct pt_regs regs = {
45774577
.cs = 3, /* Fake ring 3 no matter what the guest ran on */
45784578
.flags = X86_EFLAGS_IF,

0 commit comments

Comments
 (0)