Re: KVM: x86: switch unhandled MSR printk's to tracepoints

2013-02-12 Thread Marcelo Tosatti
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. Linu

Re: KVM: x86: switch unhandled MSR printk's to tracepoints

2013-02-12 Thread Gleb Natapov
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 wit

KVM: x86: switch unhandled MSR printk's to tracepoints

2013-02-11 Thread Marcelo Tosatti
Such messages in the system log very often cause confusion because users understand the "kvm: unhandled MSR" messages as errors. Switch to trace points, making the information available on demand. diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h index fe5e00e..c461368 100644 --- a/arch/x