Revision e7701825 target-i386/helper.c

b/target-i386/helper.c
27 27
#include "exec-all.h"
28 28
#include "qemu-common.h"
29 29
#include "kvm.h"
30
#include "kvm_x86.h"
30 31

  
31 32
//#define DEBUG_MMU
32 33

  
......
1030 1031
    if (bank >= bank_num || !(status & MCI_STATUS_VAL))
1031 1032
        return;
1032 1033

  
1034
    if (kvm_enabled()) {
1035
        kvm_inject_x86_mce(cenv, bank, status, mcg_status, addr, misc);
1036
        return;
1037
    }
1038

  
1033 1039
    /*
1034 1040
     * if MSR_MCG_CTL is not all 1s, the uncorrected error
1035 1041
     * reporting is disabled

Also available in: Unified diff