diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-08-29 05:52:07 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-10-15 04:15:24 -0400 |
commit | a89c1ad270ca7ad0eec2667bc754362ce7b142be (patch) | |
tree | 2b0dc1a98355cc817af7c9ea5673fd7e74040cac /arch/x86 | |
parent | 48d150394999c542b2e828f03da226842950d46a (diff) |
KVM: add MC5_MISC msr read support
Currently KVM implements MC0-MC4_MISC read support. When booting Linux this
results in KVM warnings in the kernel log when the guest tries to read
MC5_MISC. Fix this warnings with this patch.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 675d010995a2..e3b89662cf6d 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -991,6 +991,7 @@ int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata) | |||
991 | case MSR_IA32_MC0_MISC+8: | 991 | case MSR_IA32_MC0_MISC+8: |
992 | case MSR_IA32_MC0_MISC+12: | 992 | case MSR_IA32_MC0_MISC+12: |
993 | case MSR_IA32_MC0_MISC+16: | 993 | case MSR_IA32_MC0_MISC+16: |
994 | case MSR_IA32_MC0_MISC+20: | ||
994 | case MSR_IA32_UCODE_REV: | 995 | case MSR_IA32_UCODE_REV: |
995 | case MSR_IA32_EBL_CR_POWERON: | 996 | case MSR_IA32_EBL_CR_POWERON: |
996 | case MSR_IA32_DEBUGCTLMSR: | 997 | case MSR_IA32_DEBUGCTLMSR: |