Commit 2cb9317
committed
KVM: x86: Raise an event request when processing NMIs if an NMI is pending
Don't raise KVM_REQ_EVENT if no NMIs are pending at the end of
process_nmi(). Finishing process_nmi() without a pending NMI will become
much more likely when KVM gains support for AMD's vNMI, which allows
pending vNMIs in hardware, i.e. doesn't require explicit injection.
Signed-off-by: Santosh Shukla <Santosh.Shukla@amd.com>
Link: https://lore.kernel.org/r/20230227084016.3368-6-santosh.shukla@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 772f254 commit 2cb9317
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10150 | 10150 | | |
10151 | 10151 | | |
10152 | 10152 | | |
10153 | | - | |
| 10153 | + | |
| 10154 | + | |
| 10155 | + | |
10154 | 10156 | | |
10155 | 10157 | | |
10156 | 10158 | | |
| |||
0 commit comments