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

From: Paolo Bonzini
Date: Wed Jul 17 2019 - 12:27:11 EST


On 06/07/19 03:26, Wanpeng Li wrote:
> +
> +void kvm_wait_lapic_expire(struct kvm_vcpu *vcpu)
> +{
> + if (!lapic_timer_int_injected(vcpu))
> + return;
> +
> + __kvm_wait_lapic_expire(vcpu);
> +}
> EXPORT_SYMBOL_GPL(kvm_wait_lapic_expire);

I changed this to

if (lapic_timer_int_injected(vcpu))
__kvm_wait_lapic_expire(vcpu);

and queued the two patches.

Paolo