KVM: Add a comment explaining the directed yield pending interrupt logic
authorSean Christopherson <seanjc@google.com>
Wed, 10 Jan 2024 00:39:38 +0000 (16:39 -0800)
committerSean Christopherson <seanjc@google.com>
Fri, 23 Feb 2024 00:27:41 +0000 (16:27 -0800)
commitdafc17dd529a6194e199b837916062090562ff80
tree80a168a0ebff73e60d62a296152f4f3d5dd15548
parent322d79f1db4b033844dcb2de43abd570abbd04b4
KVM: Add a comment explaining the directed yield pending interrupt logic

Add a comment to explain why KVM treats vCPUs with pending interrupts as
in-kernel when a vCPU wants to yield to a vCPU that was preempted while
running in kernel mode.

Link: https://lore.kernel.org/r/20240110003938.490206-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
virt/kvm/kvm_main.c