Re: [PATCH v5 2/4] KVM: LAPIC: Inject timer interrupt via posted interrupt

From: Paolo Bonzini
Date: Fri Jul 05 2019 - 09:42:32 EST


On 05/07/19 15:32, Wanpeng Li wrote:
> -bool __read_mostly pi_inject_timer = 0;
> -module_param(pi_inject_timer, bool, S_IRUGO | S_IWUSR);
> +int __read_mostly pi_inject_timer = -1;
> +module_param(pi_inject_timer, int, S_IRUGO | S_IWUSR);

Use "bint" instead of "int" please, so that it accepts 0/1 only and
prints as Y/N.

Paolo