* [PATCH] KVM: X86: add MC5_MISC msr read support
@ 2008-08-29 9:52 Joerg Roedel
2008-08-29 11:35 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Joerg Roedel @ 2008-08-29 9:52 UTC (permalink / raw)
To: avi; +Cc: kvm, agraf, hare, Joerg Roedel
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>
---
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 675d010..e3b8966 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)
case MSR_IA32_MC0_MISC+8:
case MSR_IA32_MC0_MISC+12:
case MSR_IA32_MC0_MISC+16:
+ case MSR_IA32_MC0_MISC+20:
case MSR_IA32_UCODE_REV:
case MSR_IA32_EBL_CR_POWERON:
case MSR_IA32_DEBUGCTLMSR:
--
1.5.3.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-29 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 9:52 [PATCH] KVM: X86: add MC5_MISC msr read support Joerg Roedel
2008-08-29 11:35 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox