public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Alexander Graf <agraf@suse.de>
Cc: kvm@vger.kernel.org, joerg.roedel@amd.com
Subject: Re: [PATCH] Ignore DEBUGCTL MSRs
Date: Mon, 21 Jul 2008 12:05:05 +0300	[thread overview]
Message-ID: <48845141.7080701@qumranet.com> (raw)
In-Reply-To: <487DBECD.7000605@suse.de>

Alexander Graf wrote:
>>
>>> +        pr_unimpl(vcpu, "%s: MSR_IA32_DEBUGCTLMSR 0x%llx, nop\n",
>>> +            __func__, data);
>>>   
>>
>> We can avoid the printout if data == 0, since we support that case 
>> fully.
>
> I was thinking a lot about that. Even though we support data == 0, 
> usually the kernel log output is useful for people trying to find if 
> something is cause a problem. If they see that DEBUGCTL gets set, but 
> won't see it getting unset, they'd get confused IMHO.
> So the current behavior is on purpose, but if you oppose to that idea, 
> please tell me.
>

Once it gets set, you can expect brokenness.  It doesn't matter if it 
gets unset later.  So IMO not printing on data == 0 is best: quiet on 
the cases we support, and loud on cases we don't.  So yes, I'd prefer it 
changed.


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


  reply	other threads:[~2008-07-21  9:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  5:04 [PATCH] Ignore DEBUGCTL MSRs Alexander Graf
2008-06-24 13:40 ` Joerg Roedel
2008-06-25  7:41   ` Alexander Graf
2008-07-05 12:27   ` Avi Kivity
2008-07-05 12:28 ` Avi Kivity
2008-07-09 12:48   ` Alexander Graf
2008-07-10 14:01     ` Avi Kivity
2008-07-16  9:26       ` Alexander Graf
2008-07-21  9:05         ` Avi Kivity [this message]
2008-07-22  6:00           ` Alexander Graf
2008-07-22  7:19             ` Avi Kivity

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=48845141.7080701@qumranet.com \
    --to=avi@qumranet.com \
    --cc=agraf@suse.de \
    --cc=joerg.roedel@amd.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