KVM: x86: degrade WARN to pr_warn_ratelimited
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Jun 2019 12:16:13 +0000 (14:16 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Jul 2019 17:02:44 +0000 (19:02 +0200)
commit3f16a5c318392cbb5a0c7a3d19dff8c8ef3c38ee
treec531c40fc27d078d5cc6dd89fea49f46ac9b4d70
parent6fbc7275c7a9ba97877050335f290341a1fd8dbf
KVM: x86: degrade WARN to pr_warn_ratelimited

This warning can be triggered easily by userspace, so it should certainly not
cause a panic if panic_on_warn is set.

Reported-by: syzbot+c03f30b4f4c46bdf8575@syzkaller.appspotmail.com
Suggested-by: Alexander Potapenko <glider@google.com>
Acked-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c