diff options
author | Sean Christopherson <seanjc@google.com> | 2024-06-07 10:26:09 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-28 08:59:07 -0700 |
commit | 45405155d876c326da89162b8173b8cc9ab7ed75 (patch) | |
tree | 3cfe3d0aa2502b25e93b815866d4b44b4dbf3616 /drivers/fpga/tests/fpga-mgr-test.c | |
parent | 321ef62b0c5f6f57bb8500a2ca5986052675abbf (diff) |
KVM: x86: WARN if a vCPU gets a valid wakeup that KVM can't yet inject
WARN if a blocking vCPU is awakened by a valid wake event that KVM can't
inject, e.g. because KVM needs to complete a nested VM-enter, or needs to
re-inject an exception. For the nested VM-Enter case, KVM is supposed to
clear "nested_run_pending" if L1 puts L2 into HLT, i.e. entering HLT
"completes" the nested VM-Enter. And for already-injected exceptions, it
should be impossible for the vCPU to be in a blocking state if a VM-Exit
occurred while an exception was being vectored.
Link: https://lore.kernel.org/r/20240607172609.3205077-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions