commit | 10dbdf98acd620f376313b85b587c9b9563fc170 | [log] [tgz] |
---|---|---|
author | Haiwei Li <lihaiwei@tencent.com> | Wed Apr 21 11:25:13 2021 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 26 05:27:18 2021 -0400 |
tree | ea2c20ff6ab5eb809603ee95b210e2973453f1d1 | |
parent | 469bb32b68d5a414fea293c17b532329c6dc9612 [diff] |
KVM: x86: Take advantage of kvm_arch_dy_has_pending_interrupt() `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@tencent.com> Message-Id: <20210421032513.1921-1-lihaiwei.kernel@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>