Skip to content

Commit c9f3d9f

Browse files
committed
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>
1 parent 1075d41 commit c9f3d9f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

arch/x86/kvm/x86.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12266,6 +12266,9 @@ static inline bool kvm_vcpu_has_events(struct kvm_vcpu *vcpu)
1226612266
if (kvm_xen_has_pending_events(vcpu))
1226712267
return true;
1226812268

12269+
if (kvm_test_request(KVM_REQ_TRIPLE_FAULT, vcpu))
12270+
return true;
12271+
1226912272
return false;
1227012273
}
1227112274

0 commit comments

Comments
 (0)