KVM: x86: do not spam dmesg with VMCS/VMCB dumps
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 May 2019 13:34:35 +0000 (15:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 May 2019 19:27:12 +0000 (21:27 +0200)
commit6f2f84532c153d32a5e53b6083b06a3e24368d30
tree6d9e6f518fe6728cad2aa521520c57f4bcdccc63
parent654f1f13ea56b92bacade8ce2725aea0457f91c0
KVM: x86: do not spam dmesg with VMCS/VMCB dumps

Userspace can easily set up invalid processor state in such a way that
dmesg will be filled with VMCS or VMCB dumps.  Disable this by default
using a module parameter.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/vmx.c