From: Paolo Bonzini <pbonzini@redhat.com>
To: stsp <stsp2@yandex.ru>,
linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] KVM: x86: accept userspace interrupt only if no event is injected
Date: Fri, 16 Jul 2021 16:41:04 +0200 [thread overview]
Message-ID: <f6bd5b5b-2a4a-64e2-0a7b-a2bcdd3f541d@redhat.com> (raw)
In-Reply-To: <6f2305c0-77a8-42af-f5e9-2664119b6b2e@yandex.ru>
On 16/07/21 09:27, stsp wrote:
>> + if (kvm_event_needs_reinjection(vcpu))
>> + return false;
>> +
>
> kvm_event_needs_reinjection() seems
> to miss exception.pending check.
> Don't we need it too?
Yes, good point.
Paolo
prev parent reply other threads:[~2021-07-16 14:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-14 21:38 Paolo Bonzini
2021-07-16 7:27 ` stsp
2021-07-16 14:41 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6bd5b5b-2a4a-64e2-0a7b-a2bcdd3f541d@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=stsp2@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®