Message ID | 20220427173758.517087-3-pbonzini@redhat.com |
---|---|
State | New |
Headers | show |
Series | [1/3] KVM: x86: make vendor code check for all nested events | expand |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 0e73607b02bd..d563812ca229 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -12187,6 +12187,9 @@ static inline bool kvm_vcpu_has_events(struct kvm_vcpu *vcpu) kvm_x86_ops.nested_ops->has_events(vcpu)) return true; + if (kvm_test_request(KVM_REQ_TRIPLE_FAULT, vcpu)) + return true; + return false; }
Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- arch/x86/kvm/x86.c | 3 +++ 1 file changed, 3 insertions(+)