From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Subject: Re: unhandled wrmsr Date: Wed, 2 Jun 2010 14:45:11 +0200 Message-ID: <4C065257.5010809@amd.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: Dave Young Return-path: Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:43540 "EHLO TX2EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753633Ab0FBMss (ORCPT ); Wed, 2 Jun 2010 08:48:48 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Dave Young wrote: > Hi, > > With today's git version (qemu-kvm), I got following message in kernel dmesg > > [168344.215605] kvm: 27289: cpu0 unhandled wrmsr: 0x198 data 0 Are you sure about that? 0x198 is an Intel architectural perfmon MSR and it is read-only. The Linux kernel source I grep'ed obeys this and does only rdmsr. You can work around this by changing the error to a warning with: # modprobe kvm ignore_msrs=1 I'd like to see more details about the guest Linux kernel, at least the version you used to see why there is a wrmsr on this address. Best is you provide the kernel (just the vmlinuz file) somewhere so that we can reproduce this. Also the qemu-kvm command line would be interesting. Regards, Andre. > > bash-3.1$ /home/dave/tmp/qemu-system-x86_64 --version > QEMU emulator version 0.12.50 (qemu-kvm-devel), Copyright (c) > 2003-2008 Fabrice Bellard > > > bash-3.1$ uname -a > Linux darkstar 2.6.35-rc1 #35 SMP Mon May 31 16:50:15 CST 2010 x86_64 > Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz GenuineIntel GNU/Linux > > host distribution is slackware64-13.0 > > 0.12.3 works well > > BTW the guest is a tiny core linux image > -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 448-3567-12