[PATCH v2] KVM: PPC: Book3S: Ratelimit copy data failure error messages

Balbir Singh bsingharora at gmail.com
Thu Feb 23 21:08:49 AEDT 2017



On 17/02/17 04:10, Vipin K Parashar wrote:
> kvm_ppc_mmu_book3s_32/64 xlat() logs "KVM can't copy data" error
> upon failing to copy user data to kernel space. This floods kernel
> log once such fails occur in short time period. Ratelimit this
> error to avoid flooding kernel logs upon copy data failures.
> 
> Signed-off-by: Vipin K Parashar <vipin at linux.vnet.ibm.com>
> ---

What causes the flooding, can it be triggered on demand from user
space? I presume you'll need to have permissions to /dev/kvm to
trigger it? Could you clarify the scope, is it just called
during emulation with KVM_PR?

Balbir Singh.


More information about the Linuxppc-dev mailing list