]> 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)
commit691daaadf6ab95a74d33bf053a96db13bcd1ed75
tree71eddf51770ba0096f5de6ebdbb3ff7e5e5501b2
parent9437bc48a76887cc248cab6b3d8435222dd16575
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: b301dec3d1b7 ("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