mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[HVM] More MCA MSRs to ignore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
1 parent
8dc28d5ce5
commit
a903e96fce
2 files changed
+10
No files matched your search
@@ -2155,6 +2155,11 @@ static void svm_do_msr_access(
|
||||
break;
|
||||
|
||||
case MSR_IA32_MCG_STATUS:
|
||||
case MSR_IA32_MC0_STATUS:
|
||||
case MSR_K8_MC1_STATUS:
|
||||
case MSR_K8_MC2_STATUS:
|
||||
case MSR_K8_MC3_STATUS:
|
||||
case MSR_K8_MC4_STATUS:
|
||||
/* No point in letting the guest see real MCEs */
|
||||
msr_content = 0;
|
||||
break;
|
||||
|
||||
@@ -2623,6 +2623,11 @@ static int vmx_do_msr_read(struct cpu_user_regs *regs)
|
||||
case MSR_IA32_VMX_BASIC...MSR_IA32_VMX_PROCBASED_CTLS2:
|
||||
goto gp_fault;
|
||||
case MSR_IA32_MCG_STATUS:
|
||||
case MSR_IA32_MC0_STATUS:
|
||||
case MSR_K8_MC1_STATUS:
|
||||
case MSR_K8_MC2_STATUS:
|
||||
case MSR_K8_MC3_STATUS:
|
||||
case MSR_K8_MC4_STATUS:
|
||||
/* No point in letting the guest see real MCEs */
|
||||
msr_content = 0;
|
||||
break;
|
||||
|
||||