projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1075d41
)
KVM: x86: a vCPU with a pending triple fault is runnable
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 27 Apr 2022 17:34:51 +0000
(13:34 -0400)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 12 May 2022 13:51:44 +0000
(09:51 -0400)
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index
85dfa41
..
476ea09
100644
(file)
--- 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;
}