Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448659

Re: RFC: silencing kvm unimplemented msr spew.

From Bandan Das <bsd@redhat.com>
Newsgroups linux.kernel
Subject Re: RFC: silencing kvm unimplemented msr spew.
Date 2016-07-22 18:10 +0200
Message-ID <rXLbr-80C-9@gated-at.bofh.it> (permalink)
References (1 earlier) <rWiEy-7XO-11@gated-at.bofh.it> <rWJOq-ca-23@gated-at.bofh.it> <rWJOq-ca-21@gated-at.bofh.it> <rXt4R-47W-9@gated-at.bofh.it> <rXEjE-3pq-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Paolo Bonzini <pbonzini@redhat.com> writes:
...
>> Yeah, that's close. Though I would have done the same for the other side of
>> the if's too.
>> (Still evaluating which mode is actually more useful for us).
>
> For Linux guests, there should be no reason to use ignore_msrs.  Linux
> is pretty resilient to "missing" MSRs (especially because they are already
> ignored if the kernel is compiled with CONFIG_PARAVIRT=y!).  The option is
> really more for Windows, because it doesn't have anything like CONFIG_PARAVIRT
> and because drivers are sometimes less vetted (and sometimes do RDMSR
> themselves for whatever reason).  In general we try to look at beta versions
> of Windows and add any required MSRs well before the final release date,
> but if you're using old kernels you might be stuck with ignore_msrs.
>
> IOW, if there was a really common reason to use ignore_msrs it would be
> the default. ;)
>
>> Paolo, would you prefer this, or the other approach you already ack'd ?
>
> I think I prefer the other, because vcpu_debug is not ratelimited.
> If the guest can trigger a printk it should always be ratelimited.

Agree with rate limiting, but making this the default for everything doesn't sound
right IMO, especially for ignore_msrs=1. vcpu_unimpl is already rate limited.

Or is this change specifically to suppress messages on ignore_msrs=1 ?

> Paolo
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: RFC: silencing kvm unimplemented msr spew. Paolo Bonzini <pbonzini@redhat.com> - 2016-07-18 17:30 +0200
  Re: RFC: silencing kvm unimplemented msr spew. Bandan Das <bsd@redhat.com> - 2016-07-19 22:30 +0200
    Re: RFC: silencing kvm unimplemented msr spew. Bandan Das <bsd@redhat.com> - 2016-07-21 22:50 +0200
    Re: RFC: silencing kvm unimplemented msr spew. Paolo Bonzini <pbonzini@redhat.com> - 2016-07-22 10:50 +0200
      Re: RFC: silencing kvm unimplemented msr spew. Bandan Das <bsd@redhat.com> - 2016-07-22 18:10 +0200
        Re: RFC: silencing kvm unimplemented msr spew. Paolo Bonzini <pbonzini@redhat.com> - 2016-07-22 18:30 +0200
          Re: RFC: silencing kvm unimplemented msr spew. Bandan Das <bsd@redhat.com> - 2016-07-22 18:40 +0200
  Re: RFC: silencing kvm unimplemented msr spew. Paolo Bonzini <pbonzini@redhat.com> - 2016-07-20 00:20 +0200

csiph-web