From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Riepe Subject: Re: [ANNOUNCE] kvm userspace release 6 Date: Tue, 12 Dec 2006 18:42:48 +0100 Message-ID: <457EEA18.70204@mr511.de> References: <457D42F3.3000000@qumranet.com> <457D97ED.6090606@mr511.de> <457E939C.1030501@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: <457E939C.1030501-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 Hi! Avi Kivity wrote: > Michael Riepe wrote: > >> By the way: I get myriads of "kvm: unhandled rdmsr: c0000081" messages >> in my syslog, but they don't seem to cause any further harm. >> > > > Which guest does this happen with? AFAICT this should be handled well > (vmx.c:vmx_get_msr() -> find_msr_entry()) With all of them. > If you'd like to debug this, you can add printk()s to see where > vmx_get_msr() loses its way. vmx_get_msr() actually works fine. The problem is in vmx_vcpu_setup(), in the loop starting at line 1142. It tries to read all the MSRs listed in vmx_msr_index, but it fails for MSR_K6_STAR. With earlier releases, I also used to see the kernel message "kvm: msrs: 1" - that is, only MSR_EFER is found. According to Intel's docs, that's correct - the register does not exist on a Core Duo which isn't 64-bit capable (but, of course, on a Core 2 Duo - or a Xeon 51xx/53xx, aka "Woodcrest" and "Clovertown"). -- 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