ia64/xen-unstable

changeset 15613:4197a1aad70b

[HVM] More MCA MSRs to ignore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Wed Jul 18 10:04:46 2007 +0100 (2007-07-18)
parents 4721e9d836dd
children 7ef821ff6d89 ad87a4912874
files xen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Wed Jul 18 09:06:41 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Wed Jul 18 10:04:46 2007 +0100
     1.3 @@ -2155,6 +2155,11 @@ static void svm_do_msr_access(
     1.4              break;
     1.5  
     1.6          case MSR_IA32_MCG_STATUS:
     1.7 +        case MSR_IA32_MC0_STATUS:
     1.8 +        case MSR_K8_MC1_STATUS:
     1.9 +        case MSR_K8_MC2_STATUS:
    1.10 +        case MSR_K8_MC3_STATUS:
    1.11 +        case MSR_K8_MC4_STATUS:
    1.12              /* No point in letting the guest see real MCEs */
    1.13              msr_content = 0;
    1.14              break;
     2.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Wed Jul 18 09:06:41 2007 +0100
     2.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Wed Jul 18 10:04:46 2007 +0100
     2.3 @@ -2623,6 +2623,11 @@ static int vmx_do_msr_read(struct cpu_us
     2.4      case MSR_IA32_VMX_BASIC...MSR_IA32_VMX_PROCBASED_CTLS2:
     2.5          goto gp_fault;
     2.6      case MSR_IA32_MCG_STATUS:
     2.7 +    case MSR_IA32_MC0_STATUS:
     2.8 +    case MSR_K8_MC1_STATUS:
     2.9 +    case MSR_K8_MC2_STATUS:
    2.10 +    case MSR_K8_MC3_STATUS:
    2.11 +    case MSR_K8_MC4_STATUS:
    2.12          /* No point in letting the guest see real MCEs */
    2.13          msr_content = 0;
    2.14          break;