From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFT] Fix for unhandled msr c0000081 problems under Intel cpus Date: Thu, 28 Dec 2006 16:21:09 +0200 Message-ID: <4593D2D5.3020102@qumranet.com> References: <458117E4.4010807@qumranet.com> <45812407.7010803@qumranet.com> <20061228131445.GA1438@elte.hu> <4593C4CE.4040203@qumranet.com> <20061228132602.GA3392@elte.hu> <20061228134845.GA7446@elte.hu> <4593CD12.7010603@qumranet.com> <20061228140223.GA9418@elte.hu> <4593D011.9020808@qumranet.com> <20061228140836.GB10033@elte.hu> <20061228141242.GA11229@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: To: Ingo Molnar In-Reply-To: <20061228141242.GA11229-X9Un+BFzKDI@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Ingo Molnar wrote: > * Ingo Molnar 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV