* KVM: x86: report valid microcode update ID
@ 2011-07-29 22:44 Marcelo Tosatti
2011-07-31 8:53 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Tosatti @ 2011-07-29 22:44 UTC (permalink / raw)
To: kvm; +Cc: Gleb Natapov
Windows Server 2008 SP2 checked build with smp > 1 BSOD's during
boot due to lack of microcode update:
*** Assertion failed: The system BIOS on this machine does not properly
support the processor. The system BIOS did not load any microcode update.
A BIOS containing the latest microcode update is needed for system reliability.
(CurrentUpdateRevision != 0)
*** Source File: d:\longhorn\base\hals\update\intelupd\update.c, line 440
Report a non-zero microcode update signature to make it happy.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index e80f0d7..f435591 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1841,7 +1841,6 @@ int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
switch (msr) {
case MSR_IA32_PLATFORM_ID:
- case MSR_IA32_UCODE_REV:
case MSR_IA32_EBL_CR_POWERON:
case MSR_IA32_DEBUGCTLMSR:
case MSR_IA32_LASTBRANCHFROMIP:
@@ -1862,6 +1861,9 @@ int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
case MSR_FAM10H_MMIO_CONF_BASE:
data = 0;
break;
+ case MSR_IA32_UCODE_REV:
+ data = 0x100000000ULL;
+ break;
case MSR_MTRRcap:
data = 0x500 | KVM_NR_VAR_MTRR;
break;
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: KVM: x86: report valid microcode update ID
2011-07-29 22:44 KVM: x86: report valid microcode update ID Marcelo Tosatti
@ 2011-07-31 8:53 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-07-31 8:53 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: kvm, Gleb Natapov
On 07/30/2011 01:44 AM, Marcelo Tosatti wrote:
> Windows Server 2008 SP2 checked build with smp> 1 BSOD's during
> boot due to lack of microcode update:
>
> *** Assertion failed: The system BIOS on this machine does not properly
> support the processor. The system BIOS did not load any microcode update.
> A BIOS containing the latest microcode update is needed for system reliability.
> (CurrentUpdateRevision != 0)
> *** Source File: d:\longhorn\base\hals\update\intelupd\update.c, line 440
>
> Report a non-zero microcode update signature to make it happy.
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-31 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 22:44 KVM: x86: report valid microcode update ID Marcelo Tosatti
2011-07-31 8:53 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox