From: Paolo Bonzini Date: Wed, 27 Apr 2022 17:34:51 +0000 (-0400) Subject: KVM: x86: a vCPU with a pending triple fault is runnable X-Git-Tag: v6.6.17~7255^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9f3d9fbcd9a013f44a43bd74a3f40d924ce4843;p=platform%2Fkernel%2Flinux-rpi.git KVM: x86: a vCPU with a pending triple fault is runnable Reviewed-by: Maxim Levitsky Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 85dfa41..476ea09 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -12266,6 +12266,9 @@ static inline bool kvm_vcpu_has_events(struct kvm_vcpu *vcpu) if (kvm_xen_has_pending_events(vcpu)) return true; + if (kvm_test_request(KVM_REQ_TRIPLE_FAULT, vcpu)) + return true; + return false; }