Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5854dbca authored by Huang Ying's avatar Huang Ying Committed by Avi Kivity
Browse files

KVM: MCE: Add MCG_SER_P into KVM_MCE_CAP_SUPPORTED



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: default avatarDean Nelson <dnelson@redhat.com>
Signed-off-by: default avatarHuang Ying <ying.huang@intel.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 9611c187
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -73,7 +73,7 @@
#define CR8_RESERVED_BITS (~(unsigned long)X86_CR8_TPR)
#define CR8_RESERVED_BITS (~(unsigned long)X86_CR8_TPR)


#define KVM_MAX_MCE_BANKS 32
#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:
/* EFER defaults:
 * - enable syscall per default because its emulated by KVM
 * - enable syscall per default because its emulated by KVM