|
@@ -8461,6 +8461,9 @@ static inline bool kvm_vcpu_has_events(struct kvm_vcpu *vcpu)
|
|
if (vcpu->arch.pv.pv_unhalted)
|
|
if (vcpu->arch.pv.pv_unhalted)
|
|
return true;
|
|
return true;
|
|
|
|
|
|
|
|
+ if (vcpu->arch.exception.pending)
|
|
|
|
+ return true;
|
|
|
|
+
|
|
if (kvm_test_request(KVM_REQ_NMI, vcpu) ||
|
|
if (kvm_test_request(KVM_REQ_NMI, vcpu) ||
|
|
(vcpu->arch.nmi_pending &&
|
|
(vcpu->arch.nmi_pending &&
|
|
kvm_x86_ops->nmi_allowed(vcpu)))
|
|
kvm_x86_ops->nmi_allowed(vcpu)))
|