Re: [RFT] Fix for unhandled msr c0000081 problems under Intel cpus

Avi Kivity
2006-12-28T15:05:23Z

Ingo Molnar wrote:
> * Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>
>
>>> actually, those MSRs are really architecture-defined for P6 family
>>> CPUs. So KVM/qemu should at least fake something there, or ignore it.
>>> These MSRs might be ticked by various existing kernels and
>>> distributions. Performance counters are ignored at the moment?
>>>
>> They are unimplemented, and tricky to implement. Just swallowing the
>> wrmsr is easy, but it won't do the expected thing, whatever that is.
>>
>
> the expected thing is to get periodic watchdog NMIs injected - but it's
> not a big problem if that doesnt work, the watchdog code detects that.
> Crashing during bootup isnt too sexy though.
>

I'll queue it for implementation then (it's just a variant of the timer
interrupt). Swallowing the wrmsr may be ok for Linux, but may cause
other guests to fail unpredictably.

--
error compiling committee.c: too many arguments to function