From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Riepe Subject: Re: [RFT] Fix for unhandled msr c0000081 problems under Intel cpus Date: Wed, 13 Dec 2006 20:26:56 +0100 Message-ID: <45805400.3060308@mr511.de> References: <457FCBB9.5070800@qumranet.com> 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: Avi Kivity In-Reply-To: <457FCBB9.5070800-atKUWr5tajBWk0Htik3J/w@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 Oh well... I was wondering which stupid piece of sh^H^Hcode generated so many wrong rdmsr instructions without looking at the CPU feature flags. So I grepped through the linux kernel and glibc sources as well as some other likely suspects and found - nothing. Guess what? It's qemu! In qemu-kvm.c (around line 329 in save_regs()) it starts to call kvm_get_msrs(), and one of the MSRs it wants to read is MSR_STAR. When I removed MSR_STAR from the list (which fortunately has no consequences on my Core Duo), the messages were gone. -- Michael "Tired" Riepe X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- 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