Re: [PATCH] kvm: x86: Print "disabled by bios" only once per host
From: Erwan Velu
Date: Wed Feb 19 2020 - 16:52:28 EST
I'll send a patch in this direction.
Thanks,
Le mer. 19 fÃvr. 2020 Ã 18:51, Paolo Bonzini <pbonzini@xxxxxxxxxx> a Ãcrit :
>
> 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.
>