public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: David Ahern <dsahern@gmail.com>
Cc: Gleb Natapov <gleb@redhat.com>, KVM mailing list <kvm@vger.kernel.org>
Subject: Re: use of PMU in guest generates messages in host
Date: Thu, 12 Jan 2012 19:17:19 +0200	[thread overview]
Message-ID: <4F0F159F.2010308@redhat.com> (raw)
In-Reply-To: <4F0F1369.8070103@gmail.com>

On 01/12/2012 07:07 PM, David Ahern wrote:
> 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?

Since we aren't properly emulating these registers, the guest may
mulfunction.  Linux does not, but another guest may.  If we silence the
messages, then we have a malfunctioning guest with no hint in dmesg.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2012-01-12 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 20:47 use of PMU in guest generates messages in host David Ahern
2012-01-12  6:26 ` Gleb Natapov
2012-01-12 14:02   ` David Ahern
2012-01-12 14:14     ` Gleb Natapov
2012-01-12 17:07       ` David Ahern
2012-01-12 17:17         ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0F159F.2010308@redhat.com \
    --to=avi@redhat.com \
    --cc=dsahern@gmail.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox