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 17:05:23 +0200 Message-ID: <4593DD33.6000105@qumranet.com> References: <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> <4593D2D5.3020102@qumranet.com> <20061228145825.GA16057@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: <20061228145825.GA16057-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: > * Avi Kivity 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 ------------------------------------------------------------------------- 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