|
@@ -7781,6 +7781,9 @@ static inline bool kvm_vcpu_has_events(struct kvm_vcpu *vcpu)
|
|
if (atomic_read(&vcpu->arch.nmi_queued))
|
|
if (atomic_read(&vcpu->arch.nmi_queued))
|
|
return true;
|
|
return true;
|
|
|
|
|
|
|
|
+ if (test_bit(KVM_REQ_SMI, &vcpu->requests))
|
|
|
|
+ return true;
|
|
|
|
+
|
|
if (kvm_arch_interrupt_allowed(vcpu) &&
|
|
if (kvm_arch_interrupt_allowed(vcpu) &&
|
|
kvm_cpu_has_interrupt(vcpu))
|
|
kvm_cpu_has_interrupt(vcpu))
|
|
return true;
|
|
return true;
|