From: Marcelo Tosatti Subject: Re: KVM: x86: switch unhandled MSR printk's to tracepoints Date: Tue, 12 Feb 2013 10:54:15 -0200 Message-ID: <20130212125415.GB26823@amt.cnet> References: <20130211235009.GA17228@amt.cnet> <20130212123317.GA9817@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:5496 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933099Ab3BLMyY (ORCPT ); Tue, 12 Feb 2013 07:54:24 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1CCsOlB031323 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Feb 2013 07:54:24 -0500 Content-Disposition: inline In-Reply-To: <20130212123317.GA9817@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Feb 12, 2013 at 02:33:17PM +0200, Gleb Natapov wrote: > On Mon, Feb 11, 2013 at 09:50:09PM -0200, Marcelo Tosatti wrote: > > > > Such messages in the system log very often cause confusion because users > > understand the "kvm: unhandled MSR" messages as errors. > > > They are errors. Linux compiled with PV support ignores them, but other > guest OSes or Linux without PV will crash. Some indication that guest > crash due to use of unsupported MSR is a helpful hint where to look. OK, closing https://bugzilla.redhat.com/show_bug.cgi?id=883216 as wontfix because printk_ratelimit renders the messages unreliable. > > Switch to trace points, making the information available on demand. > What new information those trace points provide that we cannot get today > from trace_kvm_msr()? None.