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

Avi Kivity
2006-12-28T14:21:09Z

Ingo Molnar wrote:
> * Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org> wrote:
>
>
>> the caller is in the gdb dump above:
>>
>>
>>>> 0xc011b8ae is in setup_apic_nmi_watchdog (include/asm/msr.h:36).
>>>>
>> i'll change it to wrmsr_safe().
>>
>
> 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.

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