KVM: x86: a vCPU with a pending triple fault is runnable
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1075d41efd
commit
c9f3d9fbcd
|
@ -12266,6 +12266,9 @@ static inline bool kvm_vcpu_has_events(struct kvm_vcpu *vcpu)
|
||||||
if (kvm_xen_has_pending_events(vcpu))
|
if (kvm_xen_has_pending_events(vcpu))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (kvm_test_request(KVM_REQ_TRIPLE_FAULT, vcpu))
|
||||||
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue