]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: don't print when fail to read/write pv eoi memory
authorLi RongQing <lirongqing@baidu.com>
Thu, 4 Nov 2021 11:56:13 +0000 (19:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:25:14 +0000 (04:25 -0500)
commit5136118aed21a95e10c0094a881addf16a8578bf
tree71eddf51770ba0096f5de6ebdbb3ff7e5e5501b2
parente16373a9b8cff36f159c374a27ba38f17fa122f7
KVM: x86: don't print when fail to read/write pv eoi memory

If guest gives MSR_KVM_PV_EOI_EN a wrong value, this printk() will
be trigged, and kernel log is spammed with the useless message

Fixes: e1e30ecbf926 ("kvm: x86: ioapic and apic debug macros cleanup")
Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Cc: stable@kernel.org
Message-Id: <1636026974-50555-1-git-send-email-lirongqing@baidu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c