From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: use of PMU in guest generates messages in host Date: Thu, 12 Jan 2012 10:07:53 -0700 Message-ID: <4F0F1369.8070103@gmail.com> References: <4F0DF57B.5040500@gmail.com> <20120112062646.GQ2167@redhat.com> <4F0EE7E4.9090509@gmail.com> <20120112141410.GZ2167@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: KVM mailing list To: Gleb Natapov Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:44503 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754367Ab2ALRH5 (ORCPT ); Thu, 12 Jan 2012 12:07:57 -0500 Received: by iabz25 with SMTP id z25so2984313iab.19 for ; Thu, 12 Jan 2012 09:07:57 -0800 (PST) In-Reply-To: <20120112141410.GZ2167@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/12/2012 07:14 AM, Gleb Natapov wrote: >>> This is MSR_OFFCORE_RSP_0 MSR which is not (yet?) supported. What is >>> your host cpu and qemu command line? >> >> Host CPU: Intel(R) Xeon(R) CPU E5540 @ 2.53GHz >> and '-cpu host' is used on the qemu command line. >> > Use "-cpu host,model=29" should avid this message. We need to teach > guest to not use non architectural MSRs. Rather than teaching (changing guest code) why not change KVM to not log a message on these writes until it is supported by KVM? David