Sean Christopherson 31f251d4dd KVM: SVM: Signal AVIC doorbell iff vCPU is in guest mode
Signal the AVIC doorbell iff the vCPU is running in the guest.  If the vCPU
is not IN_GUEST_MODE, it's guaranteed to pick up any pending IRQs on the
next VMRUN, which unconditionally processes the vIRR.

Add comments to document the logic.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211208015236.1616697-11-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-01-19 12:14:41 -05:00
..
2021-11-01 21:17:39 -07:00
2021-10-20 23:57:54 +02:00
2021-12-16 21:41:04 +01:00
2021-11-10 11:14:21 -08:00
2021-08-26 22:28:03 +02:00
2021-12-06 10:09:00 -08:00
2021-11-08 09:15:45 -08:00