KVM: x86: Tweak the code and comment related to handling concurrent NMIs
authorSean Christopherson <seanjc@google.com>
Mon, 27 Feb 2023 08:40:11 +0000 (14:10 +0530)
committerSean Christopherson <seanjc@google.com>
Wed, 22 Mar 2023 19:34:33 +0000 (12:34 -0700)
commit400fee8c9b2df61721de8103a4054247bea79fd0
tree775852fc5c607e9997758cd3b2f242d481274e78
parent2cb9317377caaec647d7485bc53ab33a0b54f27c
KVM: x86: Tweak the code and comment related to handling concurrent NMIs

Tweak the code and comment that deals with concurrent NMIs to explicitly
call out that x86 allows exactly one pending NMI, but that KVM needs to
temporarily allow two pending NMIs in order to workaround the fact that
the target vCPU cannot immediately recognize an incoming NMI, unlike bare
metal.

No functional change intended.

Signed-off-by: Santosh Shukla <Santosh.Shukla@amd.com>
Link: https://lore.kernel.org/r/20230227084016.3368-7-santosh.shukla@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c