Skip to content

Commit

Permalink
KVM: MCE: Add MCG_SER_P into KVM_MCE_CAP_SUPPORTED
Browse files Browse the repository at this point in the history
Now we have MCG_SER_P (and corresponding SRAO/SRAR MCE) support in
kernel and QEMU-KVM, the MCG_SER_P should be added into
KVM_MCE_CAP_SUPPORTED to make all these code really works.

Reported-by: Dean Nelson <dnelson@redhat.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
  • Loading branch information
Huang Ying authored and Avi Kivity committed Oct 24, 2010
1 parent 9611c18 commit 5854dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#define CR8_RESERVED_BITS (~(unsigned long)X86_CR8_TPR)

#define KVM_MAX_MCE_BANKS 32
#define KVM_MCE_CAP_SUPPORTED MCG_CTL_P
#define KVM_MCE_CAP_SUPPORTED (MCG_CTL_P | MCG_SER_P)

/* EFER defaults:
* - enable syscall per default because its emulated by KVM
Expand Down

0 comments on commit 5854dbc

Please sign in to comment.