Re: [PATCH] kvm: x86: Print "disabled by bios" only once per host

From: Paolo Bonzini
Date: Wed Feb 19 2020 - 12:51:14 EST


On 19/02/20 17:53, Erwan Velu wrote:
>
>
> I've been testing the ratelimited which is far better but still prints
> 12 messages.

12 is already much better than 256. Someone else will have an even
bigger system requiring a larger delay, so I'd go with the default.

Paolo

> I saw the ratelimit is on about 5 sec, I wonder if we can explicit a
> longer one for this one.
>
> I searched around this but it doesn't seems that hacking the delay is a
> common usage.
>
> Do you have any insights/ideas around that ?
>
>
> Switching to ratelimit could be done by replacing the actual call or add
> a macro similar to kvm_pr_unimpl() so it can be reused easily.