Re: [PATCH] KVM: x86: Take advantage of kvm_arch_dy_has_pending_interrupt()

From: Wanpeng Li
Date: Thu Apr 22 2021 - 05:22:00 EST


On Wed, 21 Apr 2021 at 11:26, <lihaiwei.kernel@xxxxxxxxx> wrote:
>
> From: Haiwei Li <lihaiwei@xxxxxxxxxxx>
>
> `kvm_arch_dy_runnable` checks the pending_interrupt as the code in
> `kvm_arch_dy_has_pending_interrupt`. So take advantage of it.
>
> Signed-off-by: Haiwei Li <lihaiwei@xxxxxxxxxxx>

Reviewed-by: Wanpeng Li <wanpengli@xxxxxxxxxxx>